Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF VB.NET


[2005] DNS resolution timeout  

Is there a way to specify the DNS resolution timeout? I've added a check to my application to perform a GetHostEntry on the remote machine being checked but, if there IS a DNS problem, it takes about 30-40 secs to time out. Continue Reading
Views : 26
Saturday 3rd of November 2012

Re: [2005] Simple Printing of JPG file  

Hi there,I have a temp image file which i like to print, I just want it to fit on one A4 paper and that's it...Do i have to dabble into GDI+ or is there a simple way just to send it to printer. (I.e some underlying windows option)Cheers Continue Reading
Views : 28
Saturday 3rd of November 2012

How to create a Search Program[VB2005]  

Hey guys, I looked through MS help and couldn't find exactly what I was looking for. . . so:I am looking to write a program similar to what the ctrl+f1 does in VB2005, you can search for something and then open up information about it. Is there a basic idea how this is done? I see... Continue Reading
Views : 23
Saturday 3rd of November 2012

[2005] How to make two objects equivalent  

Is it possible to create a reference to a control that will behave as per that control?For example, if I have two checkboxes created at run time called CheckBoxA and CheckBoxB, each set up with a certain text, width, font, event handles etc., can I put one checkbox down on the... Continue Reading
Views : 21
Saturday 3rd of November 2012

[02/03] Any way to control the Language Bar  

I would like to make my VB.NET application reset the position of the Windows XP Language Bar on an event. You know, users may drag the bar onto anywhere on the screen, and the application is supposed to reset its position to maybe the top right corner of the screen, on (say) an idle timeout.... Continue Reading
Views : 23
Saturday 3rd of November 2012

Re: Connecting ADO problem  

I am trying to connect with ADO using this code:Private Const MyconnectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\alphahotel.mdb;user=admin;Password=;" Private Sub btnLoadProducts_Click(ByVal sender As System.Object, ByVal e As... Continue Reading
Views : 19
Saturday 3rd of November 2012

Re: About Access Auto Number ID  

I'n using Access 2003, How can I get the last inserted record's ID(data type is auto number) Continue Reading
Views : 18
Saturday 3rd of November 2012

[02/03] Menu Hide  

Is there a way to hide an entire menu bar after your select an item in that same menu bar?? Continue Reading
Views : 26
Saturday 3rd of November 2012

Screen Print  

I need to save a picture of the screen and save a picture of the current window. Does anyone know how to do this?Thank You Continue Reading
Views : 28
Saturday 3rd of November 2012

DatagridView  

Hello i've a litte problem with Scrollbars in my DatagridView..i've a program which read the uptime of my pc's in my entire networkthis data i display in a datagrid view works finebut my problem is that the vertical scrollbar is not shownit shows only wenn i change the... Continue Reading
Views : 26
Saturday 3rd of November 2012

Error when committing the row to the original data store  

Hey Everyone........error when committing the row to the original data store..... I sometimes get this error after I delete a record from my invoice form.. It doesn't do it all the time.But it doesn't seem to actually throw this error until I mouse_move... Continue Reading
Views : 30
Saturday 3rd of November 2012

Re: Adding Property to My.Settings @ runtime  

This is the code... VB Code: Continue Reading
Views : 20
Saturday 3rd of November 2012

Re: XML file tutorial  

Does anyone know where to find a good XML file tutorial? I have always used INI files in the past, and since I am now learning .NET I figure I need to go with the times and begin using XML files. What I am trying to do is save user settings in the file. The settings I need to save would be... Continue Reading
Views : 20
Saturday 3rd of November 2012

[2005] New to VB.NET (From VB6) - Access Database  

Hi Everyone.I'm making the switch and starting to learn about VB.NET. I've self-taught myself VB 6 over the past two years and have successfully made quite a few programs. Now I'm looking to start with .NET.I've read a few .NET books (intro / starter books though)... Continue Reading
Views : 21
Saturday 3rd of November 2012

help needed  

hii know i asked this thing so many times. but i wasn't able to solve it. so now i have my project attched with my database. ok, what i want is to make a search box that will search in the database and if show the resulatat. Databse = msft accesProject = visual basic... Continue Reading
Views : 19
Saturday 3rd of November 2012

Re: Help needed!! control array command buttons!  

Just use the Index. VB Code: Continue Reading
Views : 25
Saturday 3rd of November 2012

[2005] Read byte array into a string, fast.  

I have a big array of bytes, id need all the bytes into a string variable.Ive tried some methods but theyre just too slow.. Im just wondering if there is any better way or if this is the only way.My current method: Continue Reading
Views : 25
Saturday 3rd of November 2012

[RESOLVED] [2005] Texture Brush Stretched/Relocated to a Certain Place/Size  

I have objects of different shapes on a canvas. The shapes are resizable and they are completely different (ellipse, triangle, rounded rectangle, etc.). I have a method that generates a GraphicsPath based on what type of shape it is, where it should be located, and how big it... Continue Reading
Views : 26
Saturday 3rd of November 2012

Static tables  

Hi, Im writing the front end (user interface) in vb.net for a SQL server database.On alot of the forms i have to populate a combobox with the names of a static list of sales consultants. Currently on each form i make a database call for that data. For performance reasons i wish to... Continue Reading
Views : 22
Saturday 3rd of November 2012

Re: How to remove warning during the setup using vb.net  

WARNING: Unable to find dependency 'INTEROP.VBIDE' (Signature='(null)' Version='5.0.0.0') of assembly 'Interop.Word.DLL'WARNING: Unable to find dependency 'INTEROP.VBIDE' (Signature='(null)' Version='5.0.0.0') of assembly 'Interop.Excel.DLL'The above errors are occuring,... Continue Reading
Views : 17
Saturday 3rd of November 2012

Re: Making a system tray icon  

resolved Continue Reading
Views : 22
Saturday 3rd of November 2012

add new elements to xml  

Hi. i'm fairly new to vb.net as well as working with xml in vb so i need some help.i have the following xml file VB Code: Continue Reading
Views : 24
Saturday 3rd of November 2012

Custom Collection binding in sync with Datagridview  

I currently bind a Custom Collection class to a datagridview.For example let us say "Employees".dgvUsers.DataSource = employeesThat works fine and displays all of the employees.Now I want to add a new employee to the employees collection, how... Continue Reading
Views : 19
Saturday 3rd of November 2012

Referencing tables in VB.NET calculations  

I am using vb.net2002,Sql Server2000 and Windows2000How can I refer to a column/row from the table in my vb.net code to do calculation?...If I have two or three tables that are related and need to calculate sum or difference how to go about it ???because I have tried to... Continue Reading
Views : 22
Saturday 3rd of November 2012

[2005] Startup Form Not Active  

I had an application and set my startupForm to my log-in form, however whenever I run the program,the login form was in inactive form.Meaning the form was displayed but the taskbar was blinking.Hope you get my idea.What I want is when I run the program the login for will be in active mode so... Continue Reading
Views : 20
Saturday 3rd of November 2012

[02/03] Looping/Data reading Problem  

Hi. I am trying to read numbers into my vb program from my access database by using a Select stored procedure. Once I read the numbers in, I'm wanting to assign them to an array and then add that array to a control array of txt boxes I made. Once I've done that, I'm wanting to update the... Continue Reading
Views : 22
Saturday 3rd of November 2012

Re: [2005] ListView sort direction arrows  

Hi, does anybody know how do draw the sort direction arrows on the column header of a ListView control. I know it is possible somehow because the WFC control library (in my signature), which has been written in Visual Basic, includes a ListView that implements this behaviour. I have searched... Continue Reading
Views : 20
Saturday 3rd of November 2012

[2005] Error when attempting to enumerate process modules on 64-bit system  

I am filling an array of processes using System.Diagnostics.Process.GetProcesses(). When attempting to read the MainModule.FileName property of each process, I receive the following error:"Only part of a ReadProcessMemory or WriteProcessMemory request was completed"Now... Continue Reading
Views : 27
Saturday 3rd of November 2012

Re: Login to vBulletin From VB .NET  

Hello ,i try to Autologin to a vBulletin Forum from VB .NetBut i have 2 problemsthe code i use is : Private WithEvents BoxUserName As HTMLTextAreaElement Private WithEvents BoxPassWord As HTMLTextAreaElement ... Continue Reading
Views : 25
Saturday 3rd of November 2012

[RESOLVED][2005] Help! Datagridview problems  

I have a datagridview, with an invisible column that represents a foreign key. When they are using the datagrid view, i need to have that columns value automatically entered behind the scenes. I have the value of the fk on the form, so that isnt the problem, its just whenever I got to add a... Continue Reading
Views : 23
Saturday 3rd of November 2012