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 friday february 9

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

OpenDialog which extension gets used
Posted by Frank at 2/9/2007 10:44:48 PM
with OpenDialog suppose you set ..Filter = "Image (*.ico,*.jpg) |*.ico;*.jpg" ...AddExtension = True Which extension gets tacked on to the name? Second question Looking around I've seen all these extensions. Some, like ICON might have been simply a typo by someone wanting to type...more >>


can DotNet read and/or write exif
Posted by Frank at 2/9/2007 9:08:32 PM
I see that ImageFormat includes exif. But I can't find out if I've System.Drawing.Image.FromStream or something like it can read and/or write that format. I'm familiar with Q316563 but it does not mention exif Thanks in advance ...more >>

Please help to view the sample
Posted by yxq at 2/9/2007 8:36:22 PM
Hello, I want to get the string resource from DLL file, the code work well for Vista x86, but it will not work on Vista x64, why? can anyone help to view the code below? thank you very much. ////////////////////////////////////////////////////////////////////////////////// Public Class Ge...more >>

Encoding
Posted by AppleDopod at 2/9/2007 7:19:39 PM
Hi, Is it possible to output a .txt file in utf16 encoding using vb.net? Thanks in advance!! ...more >>

when you guys have a solution for _ALL_ of those scenarios is when I stop
Posted by susiedba NO[at]SPAM hotmail.com at 2/9/2007 6:28:38 PM
when you guys have a solution for _ALL_ of those scenarios is when I stop VB 2005 doesn't support code reuse or portability I want to know what I am supposed to do.. am I really still supposed to cart around _TWO_ ide so that I can write VB6 scripts and test them; and then rewrite them into...more >>

SQl 2000 job needs to run .NET code
Posted by susiedba NO[at]SPAM hotmail.com at 2/9/2007 6:22:37 PM
hey I want to execute VB 2005 code within a job in SQL 2000; all I see there is 'ActiveX script' is SQL 2000 going to support VB 2005 sometime soon? if not, is there an IDE that supports ActiveX script development? THANKS Susie ...more >>

SQL 2005 Job, want to run VB 2005 code
Posted by susiedba NO[at]SPAM hotmail.com at 2/9/2007 6:21:45 PM
hey I want to execute VB 2005 code within a job in SQL 2005; all I see there is 'ActiveX script' is SQL 2005 going to support VB 2005 sometime soon? THANKS Susie ...more >>

VB 2005 'class designer'
Posted by susiedba NO[at]SPAM hotmail.com at 2/9/2007 6:19:33 PM
hey I used to use the 'class designer' in Vb6 all the time. but now I don't see anything similiar in Vb 2005 express edition. do I need to buy Visio in order to do this? are there professional level class design tools for Vb 2005? -Susie ...more >>



clientside Vb 2005 in a browser
Posted by susiedba NO[at]SPAM hotmail.com at 2/9/2007 6:17:57 PM
hey I used to be able to take VB6 code and paste it into a HTML page and it would run on the clientside does anyone know if this is possible in VB 2005? Thanks -Susie ...more >>

error handler tools?
Posted by susiedba NO[at]SPAM hotmail.com at 2/9/2007 6:17:09 PM
I would like to find a tool that will help me to automatically write error handlers in my Vb 2005 code. I've been able to do this for years and years and years with Vb6; I just don't see anything lke this in VB 2005 Thanks -Susie ...more >>

save SQL 2000 DTS package as VB 2005 .BAS file?
Posted by susiedba NO[at]SPAM hotmail.com at 2/9/2007 6:15:41 PM
hey i've got a bunch of DTS packages; I have been saving these as Vb6 .bas files for years and years and years is there a similiar way to save a DTS package into VB 2005 verbage? thanks -Susie ...more >>

convert _VBA_ to VB.net?
Posted by susiedba NO[at]SPAM hotmail.com at 2/9/2007 6:14:44 PM
does anyone know any helpful ways to import VBA from Excel into VB 2005? I just swear; 2/3rds of the Vb6 code in the world never touched Visual Basic 6.0; and I want to re-use some of my existing code without a bunch of effort. I was thinking that the convertor could help me to do this; but...more >>

VB 2005 code in VBS files?
Posted by susiedba NO[at]SPAM hotmail.com at 2/9/2007 6:12:58 PM
does anyone know how I can cut and paste VB 2005 code into a VBS file? I am kindof dissapointed that this won't work -Susie ...more >>

from VB 2005 _BACK_ to Vb6?
Posted by susiedba NO[at]SPAM hotmail.com at 2/9/2007 6:09:28 PM
hey guys... I was looking for some help I've got a bunch of VB 2005 code; and I want to move it back to Vb6. Does anyone know of any tools for doing this? I just can't deal with a language that isn't even supported on Vista; so I've decided to go back to Vb6 since it works out of the box. ...more >>

function call stack window ... where is it?
Posted by Zytan at 2/9/2007 3:47:57 PM
How can I show the function call stack window in VB 2005 Express? Debugging is rather hard without it... Thanks! Zytan ...more >>

Click Event handeler
Posted by Randy at 2/9/2007 3:30:36 PM
I'm totally new to this and this is my first project not from the book I have added the Standard Items to my MenuStrip1 Here is the problem I have looked all day in the help for sample coding to do things like: Open files Save Save As Edit and it's subs etc. So just posting a copy of th...more >>

improving interface member functions of existing class (standard control)
Posted by Zytan at 2/9/2007 3:25:06 PM
I want to extend an existing class (a standard control), by making more member functions, to improve the ease of its use. *I don't want to make my own control, or add new functionality.* I just want to improve the *interface* for existing functionality. So, instead of doing this: MyUnit.MyF...more >>

Cross-thread operation not valid questions
Posted by nospam NO[at]SPAM nospam.com at 2/9/2007 1:50:24 PM
Hi all. I have encountered a "Cross-thread operation not valid" error in a test program I created and although I have came up with a solution I don't like the performance of the program. I hope perhaps some experts here can help me out. Here is what my program consists of: 1) A form cont...more >>

Classes vs. Modules
Posted by Zytan at 2/9/2007 12:15:58 PM
I've read the docs on this, but one thing was left unclear. It seems as though a Module does not have to be fully qualified. Is this the case? I have source that apparently shows this. Are modules left-over from VB6, and not much used anymore? It seems that it is better to require Imports ...more >>

Pointer to String in VB2005
Posted by mobilemobile at 2/9/2007 12:11:00 PM
I'm trying to load this structure for a call to DeviceIoControl: typedef struct _NDISUIO_QUERY_OID { NDIS_OID Oid; PTCHAR ptcDeviceName; UCHAR Data[sizeof(ULONG)]; } NDISUIO_QUERY_OID, *PNDISUIO_QUERY_OID; I created the equivalent in VB: <StructLayout(LayoutKind.Sequential)> _...more >>

How do I add a default accessor to a collection class
Posted by Lou at 2/9/2007 10:20:03 AM
I getthis error when trying to serialize a collection class. Dim Serialize As XmlSerializer = New XmlSerializer(GetType(cButtons)) "You must implement a default accessor on MyCollection.cButtons because it inherits from ICollection. ...more >>

Can't connect to SQL Server(SQL Express) in VS 2005
Posted by danofweaver NO[at]SPAM googlemail.com at 2/9/2007 9:56:39 AM
In SQL Server Configuration Manager I apparantly have a server named SQL Server(SQL Express) running - however, in VS 2005 when I try to 'add conection' (right click in server explorer) I cant see it- I would like to see it so I can create a new SQL server database. Any help much appreciated...more >>

Help with My.Computer.FileSystem?
Posted by Jesse at 2/9/2007 9:14:50 AM
I've got two directories on the same server, like this: \Public [everyone can read/write] \Private [only Joe can read/write] I want to move the directory \Private\myDir into \Public. After I move it, I want it to inherit access permissions from \Public, so everyone can read/write t...more >>

Help- Need to Practice SQL server with VS and only Win XP Home
Posted by danofweaver NO[at]SPAM googlemail.com at 2/9/2007 7:48:47 AM
How can I practice the use of SQL server without changing my girlfriends laptop to XP Pro (which anyway I dont have)? Using (unfortunately) Windows XP Home not Pro, Visual Studio 2005. Trying to learn SQL server with asp, javascript, vbsrcipt and HTML- new to this. Headbutted the wall for a few...more >>

How to access columns having same name in a datarow
Posted by vish at 2/9/2007 6:54:00 AM
Hi all, I know this might look strange at first look, but i am looping thru a dataset created using to different tables from database.These two tables have some fields with the same names. Now i want to use those columns from datarow. How can i get exactly the same column i want not the oth...more >>

WM_DEVICECHANGE
Posted by JK at 2/9/2007 6:53:01 AM
I need to load the contents of a file from a USB flash drive when it inserted. Can someone please provide a sample of how this can be achieved?...more >>

issue with propertygrid control under Windows Vista
Posted by Richy at 2/9/2007 5:58:47 AM
Hi, I am running VB Express 2005 and have been developing an application fine under Windows XP, but now I have switched to WIndows Vista I am getting strange behaviour with the PropertyGrid control. The problem not only happens on the IWindowsFormsEditorService that I have provided myself, ...more >>

Help with streamreader
Posted by Mike R at 2/9/2007 12:36:08 AM
Hi All, I'm trying to read a file that has the following format, its a variable record file, the first byte determines how to process the rest. byte 1 = either 0,1,2,3 4 bytes = size of the file other bytes = lots of stuff I'm bascially stuck on getting the 4 bytes into an int32! dim...more >>


DevelopmentNow Blog