20,899 Topics

Member Avatar for
Member Avatar for TheMightySpud

Hi all, I'm hoping someone can help me with this as I can't for the life of me figure it out. I have a single form called 'FolderSelector' with a label, textbox and a button. The problem I'm having is that everytime I run the application, the only thing that …

Member Avatar for TheMightySpud
0
295
Member Avatar for lcfjoertoft

I'm using Visual Studios 2008 to write a small program that writes to a file. The program works fine until I run it on my server at work, where for some reason it adds a "next line" (like vbCrLf command) at the end of the second line in the .txt …

Member Avatar for sandeepparekh9
0
132
Member Avatar for riahc3

Hello I have a TreeView such as this 1 2 2a 2b 3 4 4a 5 And I want to when I press a button disable 2 and 4 (with all its child nodes). How can I do this? Thanks

Member Avatar for Luc001
0
107
Member Avatar for rEhSi_123

Guys need a bit of advice, I am trying to build a GUI using vb.net windows form for a console application which is developed in c++. Since there aren't manny tutorial over the web about vc++ windows form I choose vb.net since it is quite widely used. The console application …

0
57
Member Avatar for riahc3

Hello Ive been searching around Google and while I have found some answers, Im not sure how to implant them correctly. I wish to disable the Close (X) button on a Windows Form. I read about ControlBox (I think that the property) but I perfer to do it another way. …

Member Avatar for riahc3
0
117
Member Avatar for chris007

hello..i build my project and i made a copy of the windowsapplication1.exe and tried to open itwith txt editor.. i tried to search for "chris" (computer username) and i see that: C:\Users\Chris.Chris-PC.000\Documents\WindowsApplication1\WindowsApplication1\WindowsApplication1\obj\x86\Debug\WindowsApplication1.pdb how can i hide that?i dont want to be my name /info there..thank you

Member Avatar for codeorder
0
110
Member Avatar for kelifer84

Hi I was just wondering if someone may be able to help with a program I'm trying to complete for college. I am useless at programming so I have tried and tried to sort it, to no avail, yet its probably something very simple and stupid! Basically I have created …

Member Avatar for kelifer84
0
519
Member Avatar for vishalrane

Is it possible to navigate multiple tables at a time.... The two tables are joined with primary and foreign key relationship... Pls give me some site to which i can refer or some sample code for all first,next,previous,last I can do it when its single table.... [CODE]Private Sub btnFirst_Click(ByVal sender …

Member Avatar for vishalrane
0
128
Member Avatar for vishalrane

Suppose der is one database name Customer which have columns like Cust_ID,Cust_Name,Cust_Mob,Cust_Address And on Form der are one list box which contains all Cust_Id from database and 4 textbox so when user click on the listbox having id as 1 it should display name, mob and address of cust_id 1 …

Member Avatar for saj_amo
0
6K
Member Avatar for saj_amo

hi guys , help me in this i have made a report in crystal reports 10 in that i want the field only displays data without the special characters like its showing 11-00-3200-002-37 but i want it would show the field like this 1100320000237 without (-). so does any one …

Member Avatar for saj_amo
0
292
Member Avatar for jayawant.sawant

Hi, How to captures instant messages of msn live messenger.How to captures(keystrokes)form live conversion of msn in vb.net.how to create the txtfile of that capture keystrokes of that instant messeges og live messenger of MSN. Thanks,

Member Avatar for Dr.Cooper
0
68
Member Avatar for kroysemaj

Okay so I just got my first contract job... from my wife. (Dun Dun DUNN!) My wife works in clinical research and spends a lot of time traveling and scheduling site visits for her job. She asked me if I could write a program for her that would give her …

Member Avatar for kroysemaj
0
140
Member Avatar for altXerror

sorry for long post name. anywyas, i'm converting an emulator a friend of mine made into VB form C. i came into some problems at the end where return is casuing an error. here is the code: [CODE] 'The following #define macro was replaced in-line: 'ORIGINAL LINE: #define ROPCODE(offs) ((oprom[offs] …

0
98
Member Avatar for MrVBLearner

I am trying to control the security board using the Windows Firewall which connects to my server that was made in VB.Net. My only problem is when I open the Windows Firewall my server crashes. It also displays this error: "Error, win%fir%90y4e does not support this server. Please upgrade you …

Member Avatar for Crack Cracker
0
299
Member Avatar for Mike Bishop

I am doing some calculations and the outcome of those sums are like 0.743449889958 the sum is calulated like so textbox.Text = (textbox1 * _Units) / _priceincur how would i format the string so that it only shows 0.7434 (rounded)

Member Avatar for Luc001
0
124
Member Avatar for Mykal73

I have an application which updates some files overnight from an oracle server. the application runs fine until at the very end when it closes. Then I get the message "Application has encountered a problem and needs to close. We are sorry for the inconvenience." when I click on the …

Member Avatar for Mykal73
0
118
Member Avatar for chris007

hello guys. i got a method that someone showed here BUT it doesnt work 100%... i mean..i put this folder C:\Users\chris\Documents .. if i search for *.docx, it finds only the docx files that are in SUBFOLDERS inside the Documents.. it does NOT find docx files that are in C:\Users\chris\Documents …

Member Avatar for chris007
0
1K
Member Avatar for BattleBlazer

Hi This post is more for information purposes rather than help. I have just been tasked to investigate the upgrade for our applications to run on Windows 7. Oh, yes - easy one might say... Not!! We have a few applications running on a central Oracle server. To upgrade the …

0
44
Member Avatar for moone009

I'm working on an app to parse Excel files. I need to remove invalid characters in column 2 and then in column 3 I need to trim and upper that column. Any ideas? [CODE]Dim sql As String Dim xlApp As Excel.Application Dim xlWorkBook As Excel.Workbook Dim xlWorkSheet As Excel.Worksheet ' …

Member Avatar for sandeepparekh9
0
388
Member Avatar for harris7139

I work as a console technician for an audio company in the north eastern United States. My job is to prep and manage all of our audio console before they go out on tour. I would like to build an application to assist in our testing process. Basically all is …

0
47
Member Avatar for Tyster

Hello Everyone, I have what I hope will be a simple VB question: I am building an app with multiple forms. It has a MainForm, which is the main interface, and several sub-forms that are started using buttons on the MainForm. The MainForm Load method has some code that runs …

Member Avatar for Tyster
0
729
Member Avatar for horserider

[code] ListBox2.Items.Clear() Dim myCoolFolder As String = "F:\" Try For Each myCoolFile As String In My.Computer.FileSystem.GetDirectories _ (myCoolFolder, FileIO.SearchOption.SearchAllSubDirectories, "*.*") ListBox2.Items.Add(myCoolFile) Next Catch ex As UnauthorizedAccessException MsgBox(ex.Message) End Try MsgBox("Total Files: " & CInt(ListBox2.Items.Count).ToString("#,###,###")) [/code] This code is for listing all folders including subfolders. but when i run this code …

Member Avatar for chris007
0
1K
Member Avatar for BilalAKhan

Hi, I have a done the following steps which can help you understanding my problem: 1. I took a decimal point number, suppose 192.123456 2. Then removed the decimal point 3. Concatenated the L.H.S and R.H.S and stored it in a string 4. The string that I got was 192132456 …

Member Avatar for dxider
0
173
Member Avatar for pretom

[B]I have 3 textbox. I want to change Background color when cursor go there, other wise there will be no change.[/B] [B]How can i do this?[/B] [B]My mail address [EMAIL="pretom82@hotmail.com"]pretom82@hotmail.com[/EMAIL][/B]

Member Avatar for Luc001
0
391
Member Avatar for moone009

Variable 'loNode' is used before it has been assigned a value. A null reference exception could result at runtime. does anyone know why I am getting this error? [CODE]Imports System.Xml Module Module1 Sub Main() Dim doc As New XmlDocument Dim loNode As XmlNode Dim nodes As XmlNodeList doc.Load("C:\Desktop\Template.xml") nodes = …

Member Avatar for sandeepparekh9
0
104
Member Avatar for Joshua Kidd

Hello, Im creating a TS3 server admin tool. And Im having a Problem adding items to the DAtagrid View. Ive got like 8 Columns and I want to add this data to the correct Column But IDK What Im Doing Wrong [LIST] [*]# [*]Server ID [*]Server Port [*]Server Status [*]Clients …

Member Avatar for Joshua Kidd
0
146
Member Avatar for leo88

Hi, I wants to ask how to convert DBNull to Date type? [CODE] For Each row As DataRow In dt.Rows i = 0 Dim array As Object = row.ItemArray Dim a As String If array(i + 10) IsNot Nothing Then a = CDate(array(i + 10)).ToString("yyyy-MM-dd hh:mm:ss") Else array(i + 10) …

Member Avatar for leo88
0
1K
Member Avatar for BleepyE

Ive bin looking for some code to export the contents of a DataGridView to CSV so I can view it in Excel. I found this but ive got errors; [CODE]Dim sr As StreamWriter = File.CreateText(strExportFileName) Dim strDelimiter As String = strDelimiterType Dim intColumnCount As Integer = DataGridView.Columns.Count - 1 Dim …

Member Avatar for kvprajapati
0
3K
Member Avatar for moone009

I'm trying to figure out how to update the <to>,<from>,<heading>,and <body> through textboxes. Any ideas? [CODE] <?xml version="1.0" ?> - <note> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note>[/CODE]

Member Avatar for moone009
0
48
Member Avatar for bettybarnes

hi i have a stored image in my database. i want it to be displayed in picturebox. anyone here know how to that? here is my code [CODE]Private Sub ListView1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListView1.SelectedIndexChanged Dim index As ListView.SelectedIndexCollection = ListView1.SelectedIndices Dim i As Integer = …

Member Avatar for debasisdas
0
92
Member Avatar for ninjatalon

I'm pretty sure its a false positive. My program does create and delete files when using it. Is there a way to stop showing as a false postive?

Member Avatar for makman99
0
106
Member Avatar for deva.v

Hi i am trying to write dataset into excel using oledb connection. I get an error "The microsoft access database engine could not find the object 'testTable' Make sure that name and path is correct". I understand that dataset is not in the excel thats y i get an error …

0
60
Member Avatar for ninjatalon

My table gets its information from a Mysql database online. I'm not sure which would be quicker to retrieve the row that contains the information specified. EG. table1 Name________Age John_________5 Joe__________20 At this moment i have a while loop that looks for john and gives me the row. But is …

Member Avatar for debasisdas
0
136
Member Avatar for saj_amo

Hi guys, I am creating a window application in vb.net that need to use sql server database. I want to install this application to client machine without installing sql server so that my application can still connect to a database is there any way for this ?

Member Avatar for saj_amo
0
103
Member Avatar for ryan311

can anyone help me? i have a problem in converting a 1,000,000.00 number to words i always get result 1 MILLION THOUSAND PESOS ONLY which is wrong. it should be 1 MILLION PESOS ONLY here is my code [CODE]Public Function ConvertMoneyToText(ByVal value As String) As String value = value.Replace(",", "").Replace("$", …

Member Avatar for kvprajapati
0
188
Member Avatar for deva.v

Hi I would like to get simple code on reading and writing into excel files using console application in vb.net.

Member Avatar for kvprajapati
0
91
Member Avatar for deva.v

Hi, I've created an application using VB.net windows application, but now i want to invoke it only from command prompt by giving inputs and outputs. How can i give inputs and get outputs to windows application in command-prompt. My windows application takes file as input and it process and makes …

Member Avatar for codeorder
0
133
Member Avatar for moone009

I'm very new to programming and was wondering why I am receiving a warning. "Function Checkbox doesnt return a value on all code paths. A null reference exception could occur at runtime when the result is used" I then want to execute this function through button.click event: CheckBox.ExecuteNonQuery() [CODE]Function CheckBox() …

Member Avatar for Momerath
0
127
Member Avatar for Steve Mac

Hi everybody.. was wondering if it is possible for a person to set a specific height value for the detail section in crystal reports.I want the section to have 10 records and maintain a certain height.If the records are for example 2 or any number less than 10, the detailed …

Member Avatar for Steve Mac
0
98
Member Avatar for leo88

Hi, I am doing a window servise application using VB.net. I have faced problems with sql suery, as below: [CODE] Dim dt As New DataTable() SQLStr = "SELECT FautyScanTbl.Model, FautyScanTbl.Version, FautyScanTbl.WIP, FautyScanTbl.ScanNo, FautyScanTbl.LotSize, FautyScanTbl.SerialNo, FautyScanTbl.PIC," & _ "SerialNoTbl.SetWeight, SerialNoTbl.AccesWeight, SerialNoTbl.pdmid, ScannedPartNoTbl.ScannedTime " & _ "FROM FautyScanTbl LEFT OUTER JOIN " …

Member Avatar for sandeepparekh9
0
125
Member Avatar for moone009

I have a list box where the user can add choices depending on what items they want active in the database but I cannot figure out how loop through this listbox to update the items. Any ideas? Visual Studio 2010 [CODE] Dim lstitem As String For i = 1 To …

Member Avatar for NETProgrammer
0
2K
Member Avatar for whin_lopez

Hi please help me with this problem i really need it those kind hearted programmers out there please help me :) thanks

Member Avatar for longstrd
0
3K
Member Avatar for saj_amo

Hi Guys, I have little problem to open any url link from my application i have placed a textbox and a button on the screen. what i want is any url which i write in the textbox and when i press the button automatically that url would open in the …

Member Avatar for chriswelborn
0
936
Member Avatar for chriswelborn

I was looking for a piece of code to show all users logged on to my system. What I mean by that is: only 1 person is ever truly logged in at my house, but there are sometimes other users "logged in" with programs running under their account. This is …

0
218
Member Avatar for rak4u

Hi i am using .net 2.0 & a window application which is connected to sql server there is checkbox in the application. i want to bind the checkbox with database field which is bit type 1 or 0 please tell how to ? thanks in advance

Member Avatar for azimuth01
0
895
Member Avatar for deva.v

Hi I would like to get the connection string for both 2003 excel (*.xls) and 2007 excel (*.xlsx). I want to read both files depends upon the selection. When I was using this code [CODE] Dim cn As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & a_sFilepath & ";Extended Properties= Excel 8.0;HDR=YES;") [/CODE] I …

Member Avatar for deva.v
0
770
Member Avatar for Silvia Todor

I am currently using microsoft access 2007 and vb.net 2008. The problem senario is this: I have a database-table that contains two columns, items, and the price of each item. I tried to drag this table to the form as a checkbox tool, but only one checkbox1 was diplayed. The …

Member Avatar for Olias2k11
0
77
Member Avatar for leo88

hi, I am from c# field and now are doing a project using VB, I wants to ask about question as below: 1) private static DataSet ds; I wants to convert the C# codes above to VB syntax, but VB seems like don't have equivalent keywords of "static"(Correct me if …

Member Avatar for leo88
0
294
Member Avatar for ritesh2190

i am writing a vb.net program which gets a c program as an input and checks it for errors,now i want my program to skip the comments in the c program,i have written some code but its not working pls tell me where i have gone wrong,or if u have …

Member Avatar for sandeepparekh9
0
161
Member Avatar for deva.v

Hi, I am creating a text file using a save file dialog and copying the path to the text box which file is used to write from vb.net. when i try to write i get an error "The process cannot access the file '....fileName.txt' because it is being used by …

Member Avatar for sandeepparekh9
0
911

The End.