20,285 Topics

Member Avatar for
Member Avatar for bklynman01

I have a piece of code that takes two strings, puts them together, then attempts to save that result into a table in a database. For some reason, the database is only showing the second half of the string ([ICODE]Me.txtRev.text[/ICODE] in this case). When in debug, I can see that …

Member Avatar for Mitja Bonca
0
274
Member Avatar for udigold1

I'm trying to format a DataGridView, with style color, etc. The DGV loads (via buildGrid method) at the startup of the form, as you can see in the constructor's code: [CODE]public Report1(DataSet dsReport1, string sDateRep) { InitializeComponent(); sDate = sDateRep; dsReportGrid = dsReport1; orgDataset(); buildGrid(); } [/CODE] Here's the code …

Member Avatar for ddanbe
0
562
Member Avatar for Leodumbi

Hi everyone I've been having a small problem. on learning process of vb.net and sql server 2005 I hit a wall I want to know how can I filter the items on my datagrid which is displaying the data from my SQL server database, through a textebox text. sorry the …

Member Avatar for jgat2011
0
138
Member Avatar for lpmike

i need to get data from checkbox in a groupbox. in the groupbox, it also have a label. so my coding as below [CODE] For Each chkbox As CheckBox In gboSysGroup_AccessRights.Controls If TypeOf chkbox Is CheckBox Then If chkbox.Checked = True Then Cbx.Add(chkbox.Name.ToString) End If End If Next[/CODE] so when …

Member Avatar for Luc001
0
180
Member Avatar for Fa3hed

this is code which opens new window link in same programe [CODE] Private Sub WebBrowser1_NewWindow(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles WebBrowser1.NewWindow ' This will be triggered only when link tries to open in new window. ' That means active element in web document will always be a …

Member Avatar for pocohontus
0
1K
Member Avatar for kipslem

Please could someone help me on this issue? I have a VB.Net 2008 Application that I have already created it's setup. When I installed it on another PC (Apart from my Develoopment PC) I have this issue with viewing the reports. There are couple of reports created with the CR …

0
87
Member Avatar for shers

Hi, I have an IEnumerable as a result of LINQ, which contains Value and Count. After I get the result, I want to do a string manipulation on the Value and make the corresponding Count to half. Is that possible with LINQ? Thanks

Member Avatar for Unhnd_Exception
-1
181
Member Avatar for Purrenhage

I am needing help in understanding how to declare variables properly. I am needing to write as program that calculates the commission for a sales person. I keep getting a error listed below. I thought I declared the salestextbox, costtextbox as integers correctly to use them in the calculation. I …

Member Avatar for adam_k
0
150
Member Avatar for bluehangook629

Hey guys, I am trying to build a function where it calls a dialog box to select an excel file to upload. Once the file is selected then read all data from worksheet 1 except for the header row and insert them into a table while omitting duplicates. In the …

Member Avatar for debasisdas
0
171
Member Avatar for jaejoong

Is there a way that I can create this in vb.net for excel?? [COLOR="Red"]page 1 of 2[/COLOR] Title Name | Address . . . . Signature [COLOR="red"]page 2 of 2[/COLOR] Title Name|Address (continuation of page1) . . . Signature

Member Avatar for bklynman01
0
158
Member Avatar for Naveed_786

Dear All, How can i change the dtPicker style to 2D i.e what i want i want to have dtpicker in my textbox when i click in text box then the dtpicker should open how to achieve this please help me if it is possible in VB.NET. Thanks in advance.

Member Avatar for debasisdas
-2
94
Member Avatar for leo88

Hi, take a look to my coding: [CODE] Dim Dir As New DirectoryInfo("C:\Users\Leo\Desktop\Data Lau") Dim svrDir As New DirectoryInfo(" C:\Users\Leo\Desktop\Server") Dim FileList As FileInfo() = Dir.GetFiles("*.*", SearchOption.TopDirectoryOnly) Dim svrFileList As FileInfo() = Dir.GetFiles("*.*", SearchOption.TopDirectoryOnly) Dim fi As IO.FileInfo Dim svrfi As IO.FileInfo Dim isSame As Boolean = False Dim storfilelist …

Member Avatar for leo88
0
120
Member Avatar for srinim84
Member Avatar for kipslem
0
363
Member Avatar for VIPER5646

HI ALL! Let me start by letting you know that I'm still new to VB. All I know about Programing is with the use of google, Videos, and some good help from DaniWeb. I'm doing a program which searches datagrid colums with some classes That I have wrote. I have …

Member Avatar for VIPER5646
0
101
Member Avatar for Mindazz

Hello people :) I need some help. How can I get Webbrowser1 to navigate to each page and wait for the one page to completely load, then move to the next page...? Thank you for answers in advance! ;) Example. [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) …

Member Avatar for polas5
0
2K
Member Avatar for rEhSi_123

Hi Guys need your help on this :( Basically I am developing a web crawler so once the html source is converted to plaintext in a textbox, i intent to save it in dB. But the dB seems to be having trouble excepting some characters into the table and throwing …

Member Avatar for rEhSi_123
0
220
Member Avatar for mwenyenia07

hi all, i want my system to run when the computer boots. can somebody help me with a code that can do so?

Member Avatar for debasisdas
0
80
Member Avatar for Tyster

Hi Folks, I have a simple app (coded in VB 2008 Express Edition) that uses an SQL Server database (in .mdf format) that works fine on my own machine. I created the database in SQL Server on this machine. I added the DB as a data source and it works …

Member Avatar for debasisdas
-1
135
Member Avatar for Netcode

I have written the following code in a class as my connection string. I want to retrive data from a field in a table in my database using this connecyion string. Please how do i go about it? [CODE]Public Class ConnectionString Public Shared Function ConnSQL() As SqlConnection Dim connectionString As …

Member Avatar for Netcode
0
658
Member Avatar for wan28

I am developing a windows phone application using VB.NET Can anyone suggest me of which database to use as MySQL is said to hang on a mobile device...

Member Avatar for brettg
0
92
Member Avatar for iZox

Morning Daniweb, I'm currently working on a bot for UnrealSkill witch is an game-hacking website. They have a special chatbox within they post a code every 5 minutes, codes are like this: US1337-9I0OMSYAUFDDNMJLGHJJROD NV This is where i'm looking for: - The bot needs to click the refresh button every …

0
54
Member Avatar for Reverend Jim

I have two forms that are called by the main form. One is named frmEdit, and is invoked by the ShowDialog (modal) method. The other is named frmSearch and is invoked by the Show (non modal) method. In both cases I want to preserve the last window position so each …

Member Avatar for Reverend Jim
0
164
Member Avatar for sabika abbas

hello i ve 2 forms form1 & form2. form1 has primary key(parent table) & form2 has the foreign key(child table) [code] me.mytableadapter.update(me.dataset.mytable) [/code] is working f9 but in form2 when i try to use [code] me.secondTableadapter.update [/code] here problem comes the update function is not coming neither recognized by form2 …

Member Avatar for adam_k
-1
47
Member Avatar for sabika abbas
Member Avatar for adam_k
0
37
Member Avatar for mwenyenia07

'ttudy the following code' [CODE]Public Function my_account() As Integer Dim accountNumber As Integer Try objconnection.Close() objconnection.Open() sql = "select min(accountNo) as ac from Invoices where dateDue='" & Today.Date & "'" objcommand = New Odbc.OdbcCommand(sql, objconnection) objdataReader = objcommand.ExecuteReader objdataReader.Read() accountNumber = objdataReader("ac") Catch ex As Exception MsgBox(ex.Message) Exit Function End …

0
78
Member Avatar for ILIAILIA

I am making databases and one of columns is bit(checked or not). an want to sum all the checked ones number field.how to find If is checked or not? Dim sum As Single = 0.0 For i = 0 To Table1DataGridView.RowCount - 1 sum += Table1DataGridView.Rows(i).Cells(4).Value() this is just how …

Member Avatar for ILIAILIA
-1
444
Member Avatar for BillyMagic
Member Avatar for BillyMagic
0
484
Member Avatar for Madiha Ahmed

I want to get the SNMP Getresponse in a datagridview..and i have created a program ..here is the code for getting GetResponse in DataGridView .. [CODE]Private Sub DataGridView2_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView2.CellContentClick Dim dt As New DataTable() Dim snmp As New SimpleSnmp Dim kvp As …

0
66
Member Avatar for alfredo11

Hi guys! I am having trouble debugging these codes. I tried putting "New" keyword in declaring the image variables. Can anyone help me please? I'm creating an RPG game [CODE] Dim picf(), picl(), picr(), picb() As Image 'Main problem: when I put "New" keyword it says I 'cannot use it …

Member Avatar for Luc001
0
105
Member Avatar for jayawant.sawant

hi, i have create simple chat application with windows live messenger.I have give reference of MessengerAPI type Library.then it works.after creating a setup file with inno software including interop.MessengerAPI.dll of chatting application(with windows live messenger).Install that setup on anather machine then following errors are generates. ( Error HRESULT E_FAIL has …

Member Avatar for Luc001
0
248
Member Avatar for jayawant.sawant

hi, i have create a simple chatting application with windows live messenger.I have give the reference Messenger API Type Library 1.0.Then in form_load() event i have create the object of that MessengerAPI type library, ie, in vb.net windows application.I have used visual studio 2008.I have both check windows xp service …

0
77
Member Avatar for Sonny101

Hi All, I have reached the stage in my studies that I must choose an elective and I would really like your opinion on what to do as I am not 100% sure although I am leaning towards Java. So I have a choice between SCJP & SCJD or MCTS: …

Member Avatar for Tellalca
0
235
Member Avatar for dibakarmishra

I need a help on VB 2008. How can make a button enable or visible when only the datagridview's only 1 check box is checked?

Member Avatar for hericles
0
91
Member Avatar for sabika abbas

hello ; i am making changes in design time but changes are not visible on run time can any body tell me why is this so?????????

Member Avatar for sabika abbas
0
98
Member Avatar for bluehangook629

I dont know if im posting on the right forum but I was wondering if you guys can help me pick out training material for VB.NET. After struggling with an application, I think I need to expand my knowledge on VB.NET and SQL. Whats a good tutorial or textbook for …

Member Avatar for bluehangook629
0
108
Member Avatar for Naveed_786

How can i display currently login user in crystal reports i.e when i run crystal report through my report form the username should be displayed in crystal report i am able to view the currently login user on my forms but didn't know how to schive this in crystal reports …

Member Avatar for anuj6928
0
93
Member Avatar for TIP.Synergy

i tried to delete or to clear the textbox but i got an error "Conversion from string "" to type 'Double' is not valid" here's my code textbox1.Text = Format(Val(textbox1.Text), "###,###.00") anybody can help me please? thanks...

Member Avatar for anuj6928
0
148
Member Avatar for jgat2011

Hi people, I am working on a project and I would like to create a report whose data are retrieved from my sqlserver database. Can anyone explain to me how to do it or any link that can help me?

Member Avatar for saj_amo
0
65
Member Avatar for jaejoong
Member Avatar for platinum8
0
74
Member Avatar for pixma

Hi! I just want to ask if it is possible to take a focus by a camera then generate it into text because I am planning to propose a thesis topic which is Subdivision Entry Pass wherein the security camera in the gate will focus the camera on the plate …

Member Avatar for adam_k
0
164
Member Avatar for gspeedtech

I am trying to populate a dataset with data from a dynamic SQL dataset created by a code generator (PDSA). If I want the first row of data, or I use a specific "Where" clause to retrieve 1 row, I have no problem. But, when I loop through the dataset …

Member Avatar for gspeedtech
0
200
Member Avatar for arjen

Guys i need help with this code with the code regarding using the getasynckeystate for ctrl + c and ctrl+ v or copy and paste..How will I do that in this code? For example when i type in notepad it should also do in the richtextbox with this code it …

Member Avatar for arjen
0
595
Member Avatar for bklynman01

I'm having trouble populating a combobox from a table. I do it probably 100 other times in this same program and there are no problems. When the box populates, it just displays [ICODE]System.Data.DataRowView[/ICODE], even thought the display member is set properly. Any ideas? [CODE] Dim tbldoc As DataSet1.docHeaderDataTable tbldoc = …

Member Avatar for bklynman01
0
108
Member Avatar for mrbungle

So I have a text box in a form. The test box needs to take the value entered and insert it into a column within a row in MySQL. I know it's connecting to the MySQL online, I have a message box telling me so upon a successful connection. I'm …

Member Avatar for mrbungle
0
272
Member Avatar for dwinn

Hello, I am developing a program in VB.Net and ASP.Net to allow a user to type in a code in a textbox and when they click search, a list of records with a code matching the code typed in are retrieved from an SQL Server Express database. At the moment, …

Member Avatar for Pgmer
0
436
Member Avatar for nokomoli

Hi guys, i am facing problem when i need to create an excel file and insert some data inside. Can anyone help me? i am using vs 2005 and excel 2003.

Member Avatar for Nikita Jetani
0
2K
Member Avatar for aaje

i have problem here regarding update data when i checked value in checklistbox control. no problem when i want to insert data for the first time, but got problem when i want to update it where the previous data that i checked is still available, plus the latest data i …

Member Avatar for aaje
0
226
Member Avatar for Nana.vb

[COLOR=gray]Hi,[/COLOR] [COLOR=gray]I work with Microsoft Visual Studio 2005.[/COLOR] [COLOR=gray]I'm about to build a simple paint editor similar to MS Paint program.[/COLOR] [COLOR=gray]of course, it has Edit menu, with Undo, Redo, Cut, Copy, Paste, Delete... etc.[/COLOR] [COLOR=gray]I have a problem with Undo and Redo![/COLOR] [COLOR=gray]How to do them with drawing?[/COLOR] [COLOR=gray]have …

Member Avatar for dyahalifda
0
726
Member Avatar for CrankyMero

Hello Everyone For a project from skool, I been in charge of development, and we already have the system, but they wanted to add images to the project, and since i been using the TableAdapter.Insert commando to add records to the database, I need to know how to send an …

Member Avatar for ZidaneXero
0
404
Member Avatar for alfredo11

Hi guys! I need help in putting Google Sketch up .3ds file to Microsoft Visual Basic 2008. How can I put .3ds file to VB 2008? I have searched in google but it only says VB C# and I got nothing. Please someone can share me a link for a …

Member Avatar for bluehangook629
0
52

The End.