Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
all groups > vb.net > february 2007 > threads for thursday february 1

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

Can this be done in vb.net and how?
Posted by Ron at 2/1/2007 9:13:13 PM
Can something like this be done? Say I have two buttons a Prepare and Calculate button. when the user hits Prepare, it looks to combo boxes, sees what is selected and displays apprpriate labels and text boxes and hides the ones not needed for example for btnPrepare_Click...... dim v...more >>


Simple SQL Server Insert Question
Posted by Materialised at 2/1/2007 8:57:47 PM
Hi Folks, Just a quickie, I am inserting some records (individually) into a SQL Server Table. I am wondering how can I detect primary key violations on this data which I am inserting into the table. My Insert code is as follows (VB.Net): Public Function InsertNewUser(ByVal _ConnString A...more >>

vb.net loading a form dynamically by name
Posted by marfi95 at 2/1/2007 8:44:53 PM
I have a form that has a left and right panel. In the left panel is a treeview. The right panel I want to change dynamically based on the type of node selected. What I'm doing is loading the treeview nodes through an XML file. As part of each node in the XML, I'm using an attribute that ind...more >>

Setting Excel application to nothing
Posted by Doug Glancy at 2/1/2007 8:26:21 PM
I got the following code from Francesco Balena's site, for disposing of Com objects: Sub SetNothing(Of T)(ByRef obj As T) ' Dispose of the object if possible If obj IsNot Nothing AndAlso TypeOf obj Is IDisposable Then DirectCast(obj, IDis...more >>

determing what item in combobox is selected?
Posted by Ron at 2/1/2007 8:00:56 PM
Hello, How do I determine which item in a combo box the user selected? Say I have a combo box with All, Some, None and I want to write code for a button like this?... if combobox.userselected = "All" then (20*12) end if I was thinking it would be : if cboselected.items = All then ... ...more >>

how to access or export the names that defined in excel?
Posted by marxi at 2/1/2007 6:34:00 PM
as the title of question, I would like to export some properties of excel such as font size ,sheet name and so on into a table of database, especially the names defined in excel , which can respective a cell value or a cell . any helpl will be veryvery appriciated! -- marxi...more >>

Ctrl+Y invokes Delete Current Line instead of Redo...
Posted by Zytan at 2/1/2007 4:44:46 PM
Instead of Ctrl+Y redoing what's stored in 'future history', it REPLACES that information (which will then be forever lost) with a new command: delete current line. This shortcut is so ridiculous I actually contemplated that I must have accidentally changed it to this myself, but I don't see ho...more >>

Display Version numbers
Posted by Vayse at 2/1/2007 4:21:21 PM
On my Help/About screen, I'd like to display 1) The version number, as it appears in the Publish screen. 2) The version number of the Report Viewer control. How would I do this? Thanks Vayse ...more >>



Outputdebugstring
Posted by Lou at 2/1/2007 2:26:38 PM
In VB6 I would use the API "OutputDebugString" so I could view my internal workings using DBView.exe Is there something native in DotNet that can replace OutputDebugString so I can view whats happening inside of my code whike the exe is running? Lou ...more >>

Email Question
Posted by Andrew at 2/1/2007 2:21:01 PM
When I send an email (basically a sms to a phone) from ms outlook it works fine. When I try to send it pragmatically I get an error stating that it can’t relay for <the email address> Try If Not strMailSv = "" Then If Not msgTo = "" Then ...more >>

Document conversion using vb.net
Posted by Kyote at 2/1/2007 2:13:14 PM
For a long time now I've needed to convert files from one format to another in order to use them in a variety of applications for personal use. I love to read ebooks on my palm pilot for instance. I've found various applications on the web that do this. But currently I have to use up to like 5...more >>

Why is this so slow?
Posted by Jameson King at 2/1/2007 1:25:48 PM
I have a code that reads all the bytes (all of them into an array) of a file that is 457 kb and converts those byte values into hex and writes that data to the HDD as text. When I run the program its literally doing like 3-4 rounds a second (3-4 bytes a second). What is going on? I remember ...more >>

Form Lost Focus
Posted by Miro at 2/1/2007 1:10:08 PM
VB 2005 Express. I have an MDI app, and I have a child form loading in the Parent form. On the Child form I have a command button "Close". Upon click of that close, If MessageBox.Show("Are you sure you want to cancel?", _ "Cancel", _ ...more >>

Excellent consultants available immediately
Posted by Sachin at 2/1/2007 12:48:31 PM
Hi All, Let me present you with list of consultants currently available. Name / Job Title Summary Ramchandran/Java =B7 7+ years experience in the field of Software Development. =B7 Expertise in full Software Development Life Cycle (SDLC) =B7 Expertise in J2EE architecture and applicati...more >>

constant references
Posted by Zytan at 2/1/2007 12:24:36 PM
Are they possible? I am passing in a large array of Bytes, thus I don't want to use ByVal. Zytan ...more >>

Doesn't anyone display the version number?
Posted by Zim Babwe at 2/1/2007 12:14:43 PM
Doesn't anyone display the version and revision number in their VB.NET application on the "about" screen or somewhere else? I need to know how to display that information also. Any help would be appreciated ...more >>

Outlook Polling or Some type of pulling
Posted by tshad at 2/1/2007 12:07:58 PM
I have a program that is reading one of my mailboxes. It is polling the mailboxes ever 5 minutes to see if there is a message or not. Is this how Outlook does it (using Exchange as the server)? It doesn't seem to. When a message gets to Exchange, it seems to do some type of Push to Out...more >>

How to recover tasks/process order?
Posted by Stefan Caracas at 2/1/2007 11:49:25 AM
Hi , i'm looking for code/method to get process list AND order of these processes in task manager. For instance , in task manager ( or on the windows task bar ) you have 5 applications , i would like to recover the order of these applications ( 1 to 5 ) I fould process list in System...more >>

sp 1
Posted by ray well at 2/1/2007 11:21:30 AM
during a windows update i was notified about a visual studio sp1 of about 432mb, which allowed to download. during the installation process i was notified that it was not installed. when i rebooted my system, and loaded vs i did not see sp1 in help/about. if i try help/check for updates, it...more >>

Remove multiple programmatically created controls
Posted by hunanwarrior NO[at]SPAM gmail.com at 2/1/2007 10:02:11 AM
I added textbox controls to a form when user selects amount to create from a combobox as follows: 'Load up the combobox Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim i As Integer For i = 1 To 10 ...more >>

TextBox.Text.Contains("X","Y","Z") ?
Posted by Rich at 2/1/2007 9:58:01 AM
Hello, I need to check if a textbox (of size = 1) contains a specific value (character). I could say something like If txt1.text.equals("X") or txt1.text.equals("Y")... then... Ideally, I would like to do something like Sql --If txt1.text In ("X", "Y", "Z") then... txt1.Text.Contain...more >>

Email and Graphics Question for vb.net vs2005
Posted by Andrew at 2/1/2007 7:13:00 AM
Email Question: When I send an email (basically a sms to a phone) from ms outlook it works fine. When I try to send it pragmatically I get an error stating that it can’t relay for <the email address> Try If Not strMailSv = "" Then If Not msgTo = ""...more >>

button in the usercontrol
Posted by xkeops NO[at]SPAM gmail.com at 2/1/2007 6:42:01 AM
I'm working in VS2003 VB.NET environment. I created a based class template (BasePage) and there is a new aspx win form (winform1.aspx) inheriting BasePage. In winform1.aspx I have added a new usercontrol uc1 and in uc1 I have a textbox and a save button (btn_Save). When I click the save b...more >>

How to only read the last 100 bytes from a Binary file?
Posted by ThomasZ at 2/1/2007 5:31:00 AM
Hi, Is it possible to read a file in reverse and only get the last 100 bytes in the file without reading the whole file from the begining? I have to get info from files that are in the last 100 bytes of the file and some of these files are 600Mb -1 GB in size. I am getting "outofMemory.." e...more >>

Read bytes from file and create a file with the readed bytes
Posted by paraidy at 2/1/2007 4:52:01 AM
Hi all, as from object i need to read all byte from a file example c: \myphoto.jpg and recreate the file with another name to another directory c:\photo\recreatedphoto.jpg can someone write a small example to do it? thx a lot men :) ...more >>

How to check a link is already dead or not?
Posted by Cylix at 2/1/2007 1:55:11 AM
As the title, I have a url, how can I check is it avalible any more? Thanks!!! ...more >>

Checking URL for file in VB.net how can it be done?
Posted by Daniel Padron at 2/1/2007 1:16:51 AM
Ok. Maybe I shouldnt post such basic questions here in such an advanced group but my high school programming teacher wont answer any questions outside of his curriculum :( My goal is create a program that will get feeded a url that links direcly to a file [ex. http://www.example.com/video.a...more >>


DevelopmentNow Blog