[RESOLVED] Split question
Let's say there is data with one delimiter vbCrlf : Code: Jack Jhon James George it's easy to split this data using code like this: Code: entry= Split(data, , vbCrLf, vbBinaryCompare) But, how i can I...
View ArticleAlternative for this API
Hello everybody, i'm doing my program and i use this api on it: Code: Declare Function CallWindowProcA Lib "USER32" (ByVal lpCode As Long, Optional ByVal lParam1 As Long, Optional ByVal lParam2 As...
View ArticleBuffer cannot be null
I'm trying to get values from DataGridView to the another form in textboxes and in Picturebox ,data in textboxes are there but when I trying to get a picture in a picturebox from DB it gives me this...
View Articlecol names using pdo
I there Im using PDO and php to select table data from a MySql table on my web site Code: <?php     if (isset($_GET['a']) != '')     {         $vehicleid = $_GET['a'];...
View ArticleInformation Formating
Now that I have gathered all of the information from the various files what would you suggest as the best method to format the acquired data? Currently I am trying to use html code written into the...
View ArticleCalling a javascript function disables calendar extender
I have a script manager and calendar extender on my aspx page. When I call a javascript function from my code behind page, the calendar extender doesn't work anymore. I call it like this:...
View Article[RESOLVED] If .... Then ...... Else Select Case behaviour incorrect ?
Apologies if I am being stupid but I can't understand why both the Then and Else clauses get processed in the following code :- If MyRs1![MorningRank] = 1 Then G = 1 Else Select Case MyRs1![PP_Places]...
View ArticleCan't get ByRef to work in VB 6.0
I am trying to run this very simple application ( a form and one button ): Public Sub Modify(ByRef b As Integer) b = 167 MsgBox (b) End Sub Private Sub Command1_Click() Dim a As Integer a = 12 Modify...
View Article[RESOLVED] StreamReader readline() split only at newlines that are not...
I have the following function Code:     /// <summary>     /// Pulls info from CSV file and stores each entry as list of string arrays     /// </summary>     /// <param...
View ArticleCannot Insert data into MS Access
I have created a new project using Visual Studio 2010 under windows application - Window Forms. When the the user fills out the two textboxes and clicks on add customer, the details should be saved...
View Article[SQL] Need help getting time between rows
I've almost got what I need already, except for one minor (yet important) detail. I have a table Code: SELECT [ID_NUM] Â Â Â ,[HIST_STAGE] Â Â Â ,[JOB_TIME] Â FROM [STAGE_HISTORY_TRAN] Â WHERE [ID_NUM]...
View Article[RESOLVED] [VB2010] - controlling the scrollbars values by code
i know put a scrollbars in a Panel control(by AutoScrool property). we can scroll the scrollbars by mouse, like another scrollbar. but it's possible control their values by code? like these:...
View ArticleReal Studio VS Visual Basic
Hey there, I was doing some searching last night - trying to find a vb-like program that will allow you to develop for multiple platforms. In my searches, I found a product called Real Studio...
View ArticleAuthentication to domain from pc not on domain, but with domain ip address in...
I have a small program that needs to try to authenticate to my domain from a pc that is not joined to the domain, and then run some code if it authenticates. Can you guys tell me the best way to do so?...
View ArticleTextbox Question
I would like to use a Textbox for messages but I do not want users clicking on it or manipulating the text in the textbox. I know I can use Lock = True but user can still drag mouse over text and it...
View ArticleVS 2008 How to add few lines of text to multiline TexBox from code?
Hi ! I made a program with one small textbox, where you type some text, and then if the text is for example "help" then i want to display few lines of help text in a multiline TextBox2 (i know how to...
View ArticleVS 2008 Keep 2 textboxes active at same time
Hi ! I have two textboxes, first (show_Box) is multiline and readonly with scorllbars, and second (input_Box) is normal textbox that is selected on form load. When i type help into second box...
View ArticleHow to solve simple equation
Regards, How to pick 3 random decimal numbers from array to solve simple equation in this format Code: textbox1.text*a*b*c=textbox2.text for example if we have in textbox1 1120 and in second result of...
View ArticleVS 2010 How to round on-the-run textbox array to one decimal place
Hello all of you, good and nice VB Net helpers. Here again, in my private VB 2010 Wrestling Event. By the way, Take a guess: Who is winning? I wrote a code to draw 10 labels & 10 textboxes. These...
View ArticleLoadPicture says Not Found
I use this: Picture10.Picture = LoadPicture(App.Path & "\XXX.bmp") XXX.bmp does exist in the app.path but LoadPicture says file not found
View Article