143 Posted Topics
Re: try this [CODE] Private Sub TextBox2_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox2.KeyPress e.KeyChar = UCase(e.KeyChar) End Sub [/CODE] | |
Re: [CODE] Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load TextBox1.Text = mid(line(59),instr(line(59),"ServerAdmin")+len("ServerAdmin"),len(line(59))-instr(line(59),"ServerAdmin")+len("ServerAdmin")) End Sub [/CODE] try this.... | |
Re: Try this link [URL="http://www.dreamincode.net/forums/topic/74198-how-to-view-pdf-file-in-vbnet/"]http://www.dreamincode.net/forums/topic/74198-how-to-view-pdf-file-in-vbnet/[/URL] | |
Re: Try this link [URL="http://www.developerfusion.com/article/4278/using-adonet-with-sql-server/"]http://www.developerfusion.com/article/4278/using-adonet-with-sql-server/[/URL] | |
Re: Try this link for better understanding array..... [URL="http://www.startvbdotnet.com/language/arrays.aspx"]http://www.startvbdotnet.com/language/arrays.aspx[/URL] | |
Re: Actually this type of readers only read codes from papers and then recognize it and place the code into input stream so. I think you don't want to connect the device through vb.net. Just install its driver.... That's all. | |
Re: Yes you can. Just declare two objects and use it. If you want more info please post your code... | |
Re: [QUOTE] the forms inside the mdi child forms dont seem to execute.[/QUOTE] First. You can not open a form inside a Child form... But if you need to open a child form inside a MDI form then. First make the MDI form as the parent of the child form. For … | |
Re: Use UPDATE Instead of INSERT INTO.. Like [CODE] UPDATE TABLE1 set Username='abc', password='XYZ' where password='PreviousPassword'[/CODE] | |
Re: Use MS SQL SERVER for back-end. And use SqlClient for connecting the server database through your program. See THis : [URL="http://www.devbuzz.com/articles/zinc_sqlclient_remote_sql_server_pg1.aspx"]Connect To a Remote SQL Sever DB Using VB.NET[/URL] | |
Re: Why not. But you have to build your own user controls... For an example if you want to display a table into a form then you must first define the class which will be used for creating table objects. now whenever you need a table just create an object , … | |
| |
Re: make an array of all radio button then simply run a loop that's it! | |
Re: View Facebook developers API... | |
Hi, all I am trying to create a software where video files play continuously using a timeline like Windows Movie maker or Pinacle Studio. So i have no idea how to maintain the time line. Will i use Timer Control for that or any other methods are available. I dont … | |
Re: Plz post your code so we can help you. | |
Re: Use. [CODE] dim msg as String="Report - "+Now.ToShortDateString + "-"+Now.Hour.ToString+":"+Now.minutes.Tostring [/CODE] | |
Re: You can try this. [CODE] Public Function IsPRocessRunning(ByVal name As String) As Boolean For Each P As Process In System.Diagnostics.Process.GetProcesses If P.ProcessName.StartsWith(name) Then Return True End If Next Return False End Function[/CODE] | |
Re: Assume you crop 5 pixel so use CropBitmap(BPM,5,5,BMP.width-10,BMP.height-10) Here is use BMP.height, BMP.width and BMP for example.... | |
Re: [url]http://www.daniweb.com/software-development/vbnet/threads/379716[/url] This might help you..... | |
Re: You can use toolstripmenu control. Where you can add shortcut for each item. | |
Re: 1.You can store login info into a secret file (Content must be Encrypted). 2. Now when application run first check if the file exist 3. If exist read the content(Decrypt it and read) 4. If the Credential is authentic then Login | |
Re: [CODE]If System.IO.File.Exists(File) = True Then Dim objReader As New System.IO.StreamReader(File) Do While objReader.Peek() <> -1 ReDim Preserve CFiles(EndCFiles) CFiles(EndCFiles) = CFiles(EndCFiles) & objReader.ReadLine() EndCFiles = EndCFiles + 1 Loop End If Kill(File)'Here is the mistake[/CODE] you try to delete a file before closing the file reader. So first close it. … | |
Re: You can use Timer control for this... | |
Re: (needs to open any type of save) What do u mean by that? For replacing you can use Replace function. | |
Re: Will you plz post your code??? Then i can help you. | |
Re: Two way. 1st. Use Label controls for this. Add Label controls to the form and then Use <LabelControl>.text="Something" example [CODE] if i>5 then me.Label1.Text="Hello World!" endif [/CODE] 2nd way Use MsgBox. Like [CODE]MsgBox("Hello World!")[/CODE] | |
Re: Try this [URL="http://www.codeproject.com/KB/IP/Sending_Emails_From_GMAIL.aspx"]http://www.codeproject.com/KB/IP/Sending_Emails_From_GMAIL.aspx[/URL] | |
Re: Why you commenting this line. [CODE] 'cmd2.Parameters.AddWithValue("@a35", ID)[/CODE] | |
Re: Its not depend on any language. If you want that any file formate like (*.xyz) open with your application. Then you have to create a sub-key on registry.... [CODE]using Microsoft.Win32; Registry .ClassesRoot .CreateSubKey(".xyz") .SetValue("", "XYZ", RegistryValueKind.String); Registry .ClassesRoot .CreateSubKey("XYZ\shell\open\command") .SetValue("", "XYZProcessor \"%1\"", RegistryValueKind.String);[/CODE] | |
Re: [CODE]If inc <> -1 Then[/CODE] I can't find the declaration of inc | |
Re: Yes you can. But first you have to declare the array as MyBoxs(100) as textbox then use MyBoxs.setValue(<Textbox Control>,<index>) | |
Re: Use this. [CODE] dim com as new sqlCommand("select max(staffid) from staff",c.con) dim maxid as Integer if(IsDbNULL(com.ExecuteScaler)<>true) maxid=com.executeScaler maxid+=1 esle maxid=0 endif txtstaff_id.Text=maxid.toString [/CODE] I think this will solve your problem. | |
Re: you can use panel to combine all controls in one place and each time hide single panel when next button is clicked.... Download the sample project.. [URL="http://www.ziddu.com/download/16227553/Wizard.rar.html"]Download LINK[/URL] | |
Re: Sorry i think no... | |
Re: I think you need to use Regular Expression to do this. Please look at this [url]http://www.codeproject.com/KB/dotnet/regextutorial.aspx[/url] | |
Re: 1+pi=4.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989............. By the way check the new game "Challenge Me" | |
This is a simple game where you get challenges from previous post. And after solving it you through a new challenge for next one. This challenge is based on programming....(Using any programming language like C,C++,Java,VB,JavaScript..... etc) Some guidelines [LIST=1] [*]Each challenge must solved by a simple program. [*]You have to … | |
Re: [CODE]str = "insert into tblEmployee ([Fname], [LName], [Position], [Division], [CostCenter], [Shift], [Workstation]) values (?, ?, ?, ?, ?, ?, ?)"[/CODE] change it to [CODE]str = "insert into tblEmployee ([Fname], [LName], [Position], [Division], [CostCenter], [Shift], [Workstation]) values ('?', '?', '?', '?', '?', '?', '?')"[/CODE] Assuming all fields as varchar. If i … | |
Re: Use : [CODE]OleDbCommand.executeNonquery()[/CODE] OK!!! | |
Re: [CODE]DirectCast(c, ListBox).Items.Clear()[/CODE] | |
Re: [CODE]Dim qry As String = "select * from property where propRef='" + RadDropDownList1.SelectedText + "'"[/CODE] Chang it to [CODE]Dim qry As String = "select * from property where propRef='" + RadDropDownList1.Text + "'"[/CODE] If any other problem . let me know.... |
The End.