Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF VB.NET


Re: Help with Error!  

Please help, I am making a Pong game and when I wanted to add something to the form it showed an error on the screen and it wouldn't show the form, this is what the error said: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be... Continue Reading
Views : 2381
Saturday 3rd of November 2012

Re: Checked Listboxes  

Dear All,At an on click event I want lits of certain figures/names to show in a checked list box, and when they are checked I want another process to start. Initially the listbox is blank and then when a button is clicked I want a list of things displayed. Then the user should... Continue Reading
Views : 168
Saturday 3rd of November 2012

Re: Save a file to SQL Server  

Dear Friends,I have some files with several extentions such as .doc, .pdf, .jpg, etc. And I want to save these files to a SQL server database after opening in VB. Pls note that I don't want to save the file path but the file. i.e. I want to open the file after the deletion of the file... Continue Reading
Views : 211
Saturday 3rd of November 2012

Re: [02/03] Progress bar  

I use this code to loop through a list of files in an array and count certain files in a certain date range using this code: VB Code: Continue Reading
Views : 187
Saturday 3rd of November 2012

[2005] XML deserialization  

I'm using this code to try and load an xmlDocument into a serializable object VB Code: Continue Reading
Views : 211
Saturday 3rd of November 2012

Multiple languages  

Hello again all, Ok here is my dillemma. I have an application that reads a chat log from memory of a running game and then displays it in a window. What I am curions about is if it is possible to determine the character encoding of the bytes received so that I can determine wheter it is... Continue Reading
Views : 192
Saturday 3rd of November 2012

How to retrieve details from listview to another listview  

These are my codes for my first listview at the first form: VB Code: Continue Reading
Views : 172
Saturday 3rd of November 2012

Confused about Stored Proc and SQL Params  

I am making a scheduling program and have run into some problems with logic.I populate a dropdown with all possible rooms in the school and then based on the dates chosen to book a new class, the dropdown removes the ones that conflict, leaving all available rooms. That works. Continue Reading
Views : 180
Saturday 3rd of November 2012

Re: [2005] vb.net classes with VS 2005  

Hello All,OK, here's the situation:I am in the process of building a shopping cart web application in .NET, using two separate platforms. Our development environment uses .NET Framework 2.0 and Internet Information Server 5.1 under Windows XP Professional with SP2,... Continue Reading
Views : 186
Saturday 3rd of November 2012

Re: Combobox value to be displayed in text box  

I have a table in an Access DB as followsid,rofl1,one2,two3,three4,four5,fiveI have a vb form with a combo (combobox1) and a textbox (textbox1)What I need to do is when I make a selection in the combo (rofl field in db) the... Continue Reading
Views : 170
Saturday 3rd of November 2012

[Resolved]Child form get all controls on parent  

Hey all,Here's my problem:I have a form (form1) which opens another form (phaseCtrl). When I push a button on phaseCtrl, I want to cycle through all controls on form1 and get some properties of each picture box.However, I would like to house this sub in a... Continue Reading
Views : 192
Saturday 3rd of November 2012

does node exist  

VB Code: Continue Reading
Views : 211
Saturday 3rd of November 2012

Re: application directory  

I need to create a file that exists with the application in a folder to hold settings. In order to read and write to the file, I need a filepath. how can I get the directory of the application without knowing it beforehand? this is in case the user decides to install it somewhere besides the... Continue Reading
Views : 196
Saturday 3rd of November 2012

Re: [2005] Download Images to ImageList  

Hi, I'm trying to download some small images from a website, into an imagelist so that I can use them with a treeview. I dont actually want the files to be saved/stored anywhere other than in memory.Was wondering if MemoryStreams are the right direction to head in or... Continue Reading
Views : 198
Saturday 3rd of November 2012

Re: Me.Close  

Hi, I'm converting a vb.net app that uses windows forms, into a module with a sub main() console with no forms.Everything looks good except, how do I close my module. My intellisense does not like Continue Reading
Views : 185
Saturday 3rd of November 2012

Re: [2005] Why my listview's row not highlighted when I click on it  

I don't know what is the problem. I have already put fullrowselect as true and view as details at the properties of my listview. But I can't hightlight the row I click. Is it got to do with my codes? What should I correct my code? Continue Reading
Views : 166
Saturday 3rd of November 2012

[2005] Treeview appearance  

Is it possible to change the colour (to orange for example) and bold on certaub nodes of a treeview? Continue Reading
Views : 196
Saturday 3rd of November 2012

delegates  

Hi,I believe i understand the concept of delegates. To put it simply, I think they are used to invoke methods in another class.What I don't quite understand is:What is the point of using delegates when you can easily call the method in the other class the normal way which is... Continue Reading
Views : 200
Saturday 3rd of November 2012

[2005] exception in Backgroundwork  

我用backgroundworker运行一个线程,现程中执行的是打开一系列文件,写入东西,关闭。第一次运行,一切良好。第二次运行开始出现exception Continue Reading
Views : 195
Saturday 3rd of November 2012

Re: vb.net project to web  

I have a project created in vb.net 2003. it uses mysql db. is it possible to upload the program to a web server and have the user enter a password to access the program. can it run as is on the server, or do i need to change the code to asp.net or a vb script? i do not want to deploy on a... Continue Reading
Views : 208
Saturday 3rd of November 2012

[2005] richtextbox newline  

Hello All, I'm trying to get a multiline richtextbox to not respond to a "Return" key press. What I want to do, is when I press the "Return" key, an event is triggered (using the keydown event), but the richtextbox does not put a NewLine character in the text field. This action... Continue Reading
Views : 207
Saturday 3rd of November 2012

[2005] ADO.NET SQL Tutorial Question  

Double click the command button. This will open up the code view and add the event handler for the button's click event. To make some of the coding more... Continue Reading
Views : 195
Saturday 3rd of November 2012

[02/03] .Net Sockets/TCP Client  

Is there a tutorial anywhere on this? the code on msdn isnt working for me. Continue Reading
Views : 289
Saturday 3rd of November 2012

[2005] two questions..  

question 1Ok so ive got two checkboxes, and 1 panel...i dont want the panel to be shown unless BOTH check boxes are checked...ive tried everything i could think of and couldnt get it..question 2ive got an exe i put into my project via project/add existing... Continue Reading
Views : 185
Saturday 3rd of November 2012

View -> Tab Order  

I have many many controls and groupboxs on a the form.When I use View->Tab Order, the order labels are overlapping each other and they even hide the controls.Is there any way that i can set the order of controls easily?thanks Continue Reading
Views : 195
Saturday 3rd of November 2012

Re: [2005] Datagrid Woes  

Can you remove the arrow that appears in the first column of datagrids which points to the currently selected row?e.gGridTitle | Col1 |Col2....______________________________> Row1 | 1,1 | 1,2----------------------------------- Continue Reading
Views : 161
Saturday 3rd of November 2012

Re: [2005] Listview select item  

Hi people,I want to get text stored in the 1st column of a selected row ina listview....While browsing i found out how to get the selected index from Continue Reading
Views : 176
Saturday 3rd of November 2012

PLEASE HELP - Live Forex Rates Client Problem  

Hello,Hello, Hi my name is TJ, I am currently enrolled in school right to become an MCSD. I am studing Visual Basic. I have picked a FOREX software API to use in order to challenge myself. I am having problems with the VB soultion. What it is supposed to do is... Continue Reading
Views : 166
Saturday 3rd of November 2012

Re: Move, drag one image anywhere else on the form [screen]  

Hi, I have looked at threads on this but am not sure if they do what I want.with the letters of the alphabet displayed on the form/screen I want to be able to move them to make words, so they cannot be moved to predetermined locations but must be random.each... Continue Reading
Views : 187
Saturday 3rd of November 2012

Re: Best way to pass var to Threaded Class  

ok so I'm working in .Net/C#. I have this CDatabase class for instance. I like to run my CDatabase.Connect() and CDatabase.CreateDataSet() on different threads that way I still have my UI to work with. However those two functions require quite a bit of arguments to start. Such as... Continue Reading
Views : 164
Saturday 3rd of November 2012