Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF VB.NET


Me.Hide  

Hey guys!I have a lil question!So i have a programcode like this: Code: Public Partial Class MainForm Public Sub New() ' The Me.InitializeComponent call is... Continue Reading
Views : 20
Saturday 3rd of November 2012

Re: [2005] Application Settings and Check Boxes  

Two questions:I used the following code to try and make the check box in the Prefs file change, but it still does not to go back to being checked or unchecked. VB Code: Continue Reading
Views : 16
Saturday 3rd of November 2012

[2005] Time variables  

Hi I am new to VB. I am trying to make a program that will let a user input the time in and time out and the program will tell the difference between the two times. I want them to be able to input say 9:15 for start time and say 12:30 for end time and it will give an out put of 3.25... Continue Reading
Views : 27
Saturday 3rd of November 2012

program like Microsoft Word  

Hi I want writing little program like Microsoft word. Now I need information about Create ruler. And about "Writing panel" (where user type your own text). i need information about best way for implementing this components. Please help me. Continue Reading
Views : 20
Saturday 3rd of November 2012

Index out of range - Help  

What does this error mean. will pay for resolution.[IndexOutOfRangeException: QTY] System.Data.Common.FieldNameLookup.GetOrdinal(String fieldName) +55 System.Data.OleDb.OleDbDataReader.GetOrdinal(String name) +63 ... Continue Reading
Views : 24
Saturday 3rd of November 2012

Re: [2005] 2 Questions about imageindex and my statusstrip  

I'm making a chat client and have my iconimages set up already but my problem is trying to get them to change in my listview when somebody signs online and other stuff. I tried this: VB... Continue Reading
Views : 26
Saturday 3rd of November 2012

Re: Starting a application  

Hi every one I want my application to start an another application but when the user click end process tree both application should no close example lets say my application name is converter ...... if the user click a button word should open .........but... Continue Reading
Views : 21
Saturday 3rd of November 2012

[2005] Datagridview currentRow Index Of Row in focus  

i want to set the index of the row so that i scroll to that Record.A Datagrid uses CurrentRowIndex property like thisDataGrid1.CurrentRowIndex = ibut what could be the replacement in .NET 2.0.Any Idea Will Be Appreciated. Continue Reading
Views : 35
Saturday 3rd of November 2012

attach and deattach sql 2005 database  

hi how can attach and deattach sql 2005 database in vb.net 2005tank you Continue Reading
Views : 21
Saturday 3rd of November 2012

[2005] databinding validation  

I have databound some fields to some textbox controls, but when i endedit, i get exceptions sometimes for having values that are too long or wrong type etc, is there an easy way to validate these (ie not 20 if checks)ThanksChris Continue Reading
Views : 29
Saturday 3rd of November 2012

Re: Doesn't update my Database...  

Can anyone tell me why this isnt updating my database?Is it not reading the correct string in the update command? This doesnt appear to be updating the items... I have a txtProduct textbox and I am typing "10000, 10001" in the textbox. Those are product Id #'s, but the Published... Continue Reading
Views : 18
Saturday 3rd of November 2012

Re: Microsoft Chart Control 6.0  

Has anyone used microsoft chart control 6.0 before? I need help! I would like to graph some data in vb.net using this gadget. What do i do? Continue Reading
Views : 21
Saturday 3rd of November 2012

Re: Synchronising timers  

I have 2 timers on a form tmr1 and tmr2, is there any way i can synchronise these two timers so that every 30th tick from tmr1, tmr2 ticks??? Continue Reading
Views : 27
Saturday 3rd of November 2012

DataGridView Conditional Formatting  

Guys,I have a datagridview with 6 columns..."EnquiryDate" - Date"EnquiryDone" - Boolean"OrderDate" - Date"OrderDone" - Boolean"RequisitionDate" - Date"RequisitionDone" - BooleanI would like to conditionally format... Continue Reading
Views : 24
Saturday 3rd of November 2012

Problem passing field from parent, to child form  

Wonder if anybody can point me in the right direction? I'm wondering what I'm doing wrong.I have a parent and child form. On the parent form, I have a CustomerID field - which is a CustomerID field in my tblCustomersParent table my Access database. I have a similar field in... Continue Reading
Views : 25
Saturday 3rd of November 2012

Question about oracletransaction...  

HI, I have a small program where I am calling a sub routine with one insert statement like I show below:**********************Public Sub RunOracleTransaction(ByVal connectionString As String) Using connection As New OracleConnection(connectionString) ... Continue Reading
Views : 21
Saturday 3rd of November 2012

Re: record selection  

i am having database on server.and application(in vb) running on client machine.i have a table named "item_master".i want to retrieve similar itemname(s) from this table. and this... Continue Reading
Views : 16
Saturday 3rd of November 2012

Reading from a file to multiple lists  

Hey all After searching these forums and looking through all the 34 pages of answers I thought could help me, I post here instead!It has to do with reading lines from a file and... Continue Reading
Views : 17
Saturday 3rd of November 2012

[2005] WMI error driving me crazy  

I keep getting an intermittent error in my application. It appears to be thrown by WMI.************** Exception Text **************System.Management.ManagementException: Not found at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus... Continue Reading
Views : 26
Saturday 3rd of November 2012

Weirdness with that FTP Class...[RESOLVED]  

Hello gang,I've been able to successfully implement the FTP class (VB.Net 2003) that is often recommended around here, but I'm having 1 very specific issue with it.I'm trying to set some mainframe parameters using the QUOTE command. When I send any quote command... Continue Reading
Views : 20
Saturday 3rd of November 2012

Random Number  

I am using the random function with milliseconds as a source of getting values. The problem is that I have a list of 45 items that need to randomly get set into 7 different groups. When I run the application they all come out in sequencial order i get the first six in group 1, the next six... Continue Reading
Views : 21
Saturday 3rd of November 2012

[2005] Unable to start debugging  

I installed Visual Basic 2005 Express Edition yesterday, and translated a project that developed by version 2003. After I am going to debug it, The complier said:Error while trying to run the project: Unable to start debugginghowever, the project can run correctly... Continue Reading
Views : 24
Saturday 3rd of November 2012

[2005] Programmatically Focus on PPTVIEW.EXE  

Hi,I have 8 instances of pptview.exe running in my processes list. What I need to do is go through and individually put focus on each one then off of it. So say I would have 8 pptview.exe's running and a instance of windows explorer. I need to put focus on the first pptview, then the... Continue Reading
Views : 32
Saturday 3rd of November 2012

[VS05]Reading/Writing Process Memory  

Has anyone a clean source for reading and writing process memory?I had the source for VB6 but decided to switch to .NET.So does anyone has a clean source he could give me?I will give credit everytime I'll make an app with it. Continue Reading
Views : 22
Saturday 3rd of November 2012

Re: Textbox Truncate &/or Mask  

I have a text box that is going to take input from a magnetic card (like a credit card), or in my case a Players card from a casino. Each card has a specific number tied to the card but is encoded with some proprietary data that identifies the casino and division. Example: on the front of... Continue Reading
Views : 23
Saturday 3rd of November 2012

[2005] Compare old area versus new area  

Need some help with this.I m writing collision code for a game. I store all collisions in a list populated with collision class objects. Each collision has an X and a Y value that correlates with a grid position on our sprite.Such as if we have a sprite that's fits on... Continue Reading
Views : 22
Saturday 3rd of November 2012

Re: Add Label At Mouse Position  

I am trying to add a label just where my mouse is using a context menu "Add Label" but it goes to a different position. How can i do this. Below is my code. VB Code: Continue Reading
Views : 23
Saturday 3rd of November 2012

Strange Problem  

im having a strange problem that i can access a database thru a desktop application but not able to do that in a web application, here's da code, used in both places VB Code: Continue Reading
Views : 33
Saturday 3rd of November 2012

[02/03] meanings of these Attributes  

hello, i asked a question few days back in C# on the same topic, but could not get any answer (read 'answer' and not 'reply' ). Continue Reading
Views : 21
Saturday 3rd of November 2012

Centering Text  

How do I center text in the middle of a message box? Continue Reading
Views : 21
Saturday 3rd of November 2012