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 > january 2008 > threads for january 22 - 28, 2008

Filter by week: 1 2 3 4 5

N-tier setup help
Posted by plexter at 1/28/2008 8:26:51 PM
Hi wondering if someone could give me a example of how a hospital can be setup in a n-tier environment? Thanks...more >>


Frustration and Excitement with Crystal Reports
Posted by Tony K at 1/28/2008 7:58:00 PM
Getting the former. Not the latter. As some of you may know (Terry...btw thanks for all your help), I have been battling a Crystal Reports problem. I have recently made the discovery that my "Current Connections" or ADO.NET options for the database expert in CR are not working with my pro...more >>

How to get the length of this regex?
Posted by alexvorn2 at 1/28/2008 5:57:04 PM
How to get the length of this regex: ((.|\n)*?)...more >>

How can I delete a non empty folder ?
Posted by fniles at 1/28/2008 3:12:18 PM
I am using VB.NET 2005. When I try to delete a folder that has files underneath it, it gave me "the directory is not empty" error. f = New IO.DirectoryInfo("C:\myfolder") If f.Exists Then f.Delete() --> error "the directory is not empty" End If How can I delete a folder with files u...more >>

Displaying characters on a windows form from another codepage
Posted by adiel_g@hotmail.com at 1/28/2008 1:23:44 PM
I am trying to display some data that I received into a form. The form is in english. The data is in cyrillic (russian) which uses codepage 1251. I am trying to change the button text to russian. For example: cmdCancel.Text =3D "=CE=F2=EC=E5=ED=E8=F2=FC" Those are garbage characters whi...more >>

"Extension" properties?
Posted by Arthur Dent at 1/28/2008 12:48:38 PM
Hi all, ... is there any way to use the new CompilerServices Extension attribute with class *Properties*? Internally properties are just implemented as a pair of functions (get/set), aren't they? So shouldn't it be possible to create Extension Properties? Thanks in advance, - Arthur Dent....more >>

Connect to either SQLS or JET/MDB
Posted by Olaf Rabbachin at 1/28/2008 12:08:51 PM
Hi everybody, I am building an application that needs to alternatively connect to either SQL Server (2000) or a local Access backend. That is, if users are connected to the LAN, they may use data from the SQL Server, but when they're out in the field, they'll use the Access backend on their lo...more >>

Creating an Excel Spreadsheet from code on a computer that does not have Excel installed
Posted by zacks@construction-imaging.com at 1/28/2008 9:33:20 AM
I have an application that can read an Excel spreadsheet on a computer that doesn't have Excel installed on using the Jet ODBC 4.0 driver. I know need to modify the application to also be able to create a new Excel spreadsheet and write data to it on the same computer, a computer that does not...more >>



Problem- SendKey CTRL+R + M
Posted by ngeluis@gmail.com at 1/28/2008 9:22:34 AM
Hello every one.. Im having problems to send a command to Windows - Run... I want to send a command to Windows - Run to the people only have to press the Enter Key... The text that i want to send to Windows - Run is like this -> B: \setup.exe +uAEKLX +pc:\TEAMSTM I can do it but if i use m...more >>

doubles
Posted by ReneMarxis at 1/28/2008 7:24:55 AM
Hello can someone explain me? >? cdbl(7.5)-cdbl(7.2) 0.29999999999999982 >? (cdbl(7.5)-cdbl(7.2))=0.3 False >? (cdbl(7.5)-cdbl(7.2))=cdbl(0.3) False >...more >>

How to set values in datagrid?
Posted by Michael at 1/28/2008 7:18:03 AM
Hi all, I am using Datagrid control in VB.Net 2003. Now I have a problem like this, when user changed the value in a cell in datagrid, I want all the values in the same column below the current row changed to the new value. How can I do this? I use currentcellchaged event like below: P...more >>

Reverse line reading order from text file into combobox
Posted by kimiraikkonen at 1/28/2008 6:44:41 AM
Hello, I was working on a project that a combobox reads each line from a text file using this code: Dim reader As String reader = My.Computer.FileSystem.ReadAllText("history.txt") Dim strs() As String strs = Split(reader, Environment.NewLine) For Each s As String In strs combobox1.It...more >>

how can I disable this "function" in VS2005
Posted by Agnes at 1/27/2008 6:52:28 PM
When I rename one form from A to B , it helps me to change all the related form A into B automically How Can i disable it?? Thanks ...more >>

How to suspend a process?
Posted by yxq at 1/27/2008 5:47:46 PM
How to suspend a process like Process Explorer? thank you. ...more >>

hibernated and menu
Posted by JR at 1/27/2008 12:41:53 PM
Hi, who can help me to solve this error: When running EVERYTHING works fine only when i reactivate the computer after hybernated mode I get this error: Jan Zie het einde van dit bericht voor meer informatie over het aanroepen van JIT-foutopsporing (Just In Time) in plaats van dit dial...more >>

howto question, regarding Nested Relationships, and getting child counts.
Posted by Lance Wynn at 1/27/2008 11:12:43 AM
Suppose I have a self referencing table of categories: ID CatName ParentID I create a Dataset, and a parent-child relationship, so the result looks something like this Cat1 SubCat1 SubCat2 SSubCat1 SSubCat2 SubCat3 Cat2 SubCat1 SubCat2 etc....more >>

Problems when pinging
Posted by Jerry Spence1 at 1/27/2008 8:15:30 AM
I am doing: My.Computer.Network.Ping("192.168.0.1", 2000) I often (but not always) get the following error: System.Net.NetworkInformation.PingException: An exception occurred during a Ping request. ---> System.AccessViolationException: Attempted to read or write protected memory. This is ...more >>

Recommended db app strategy
Posted by John at 1/27/2008 1:38:34 AM
Hi I have an access backend database to which I need to give a vb.net front end. I created db connection and data source in vs 2008., I then dragged the fields onto a form which created the app for me. The app works ok but my question is; is this the correct/acceptable way to cerate an app or ...more >>

Recommended db app strategy
Posted by John at 1/27/2008 1:38:13 AM
Hi I have an access backend database to which I need to give a vb.net front end. I created db connection and data source in vs 2008., I then dragged the fields onto a form which created the app for me. The app works ok but my question is; is this the correct/acceptable way to cerate an app ...more >>

How to "replace" an Object in a List(Of Object)
Posted by BobRoyAce at 1/26/2008 5:02:50 PM
I have a class, MerchantList, which has a property, Merchants which is a List(Of Merchant). I am trying to figure out how to "replace" one of the Merchant objects in the Merchants List with another new one. I created a simple test, coded as follows: Dim oList As New MerchantList Dim oMe...more >>

how define page range of files(.doc, pdf) to be printed?
Posted by jabslim via DotNetMonster.com at 1/26/2008 2:11:45 PM
is there a way to print .doc and pdf files that lets the user choose which pages to print, without showing/using the printdialog?? how can i do it programmatically? thanks -- Message posted via DotNetMonster.com http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-vb-net/200801/1 ...more >>

remoting problem
Posted by Anthony Sox at 1/26/2008 12:57:23 PM
Hi all i have an object example employee with property Id. when the employee object is new the Id property is 0 and when it is saved to the database the Id property is set to the automuber from the database. The data access component is a remote component. my problem is when when i run my a...more >>

vb.net-use USB pushbutton to trigger windows form button
Posted by srussell@joplin.com at 1/26/2008 10:41:41 AM
Building program used for timing marathon "type" races. Developed simple code that uses the forms timer1. When started it places count- up timer displayed in textbox and works fine. Have a screen button when pressed copies the current time at that very moment and pastes it into another text box....more >>

Ho to store dates in MsSql from vbnet
Posted by VBnet News at 1/26/2008 9:12:19 AM
Hi, When storing a date like 1/12/2008 to msSQL(setting field is "datetime") The date in msSQLis stored like 1/12/2008 0:00:00 When upload the data in vbnet form my textbox also show 1/12/2008 0:00:00 instead of 1/12/2008 When using (setting field as "nvarchar(20)" is it working OK...more >>

Listview Selected Item
Posted by Bill-R at 1/26/2008 9:09:45 AM
I'm trying to convert a vb6 program to vb.net (vb2008 express) I have text data in a Listview Control I use a Textbox to enter characters to search the Listview When a Match is found, I use textbox_textchanged to select listview item Listview1.Items(z).Selected = True Listview1.Items(z).En...more >>

Does the RichTextBox implemented CFM_SHADOW
Posted by Academia at 1/25/2008 8:30:37 PM
I been trying to set the RichTextBox font to shadow (using CFM_SHADOW) It shows under CHARFORMAT2 Structure's documentation and in tom's documentation. Using CHARFORMAT2 does change the text appearance so I suspect CFM_SHADOW it is not implemented. Is it implement? If it is not imple...more >>

Upgrade to MSDN Subscrip
Posted by CMoya at 1/25/2008 6:20:26 PM
I seem to remember a few years ago we purchased an MSDN Subcription for one of our developers as an "Upgrade" to a retail boxed standalone Visual Studio.NET 2003 that we had purchased. Does anyone know if this is still possible and hopefully provide a link? The info on the MSDN site of all the...more >>

setting a class property to a null value...
Posted by Brad Pears at 1/25/2008 1:09:10 PM
I have an integer type database field that allows nulls. The associated class property for this database (SQL Server 2000) field is of course also an integer. In my code (vb.net 2005), I am setting this property to a text box's ".text" value. Now, depending on whether this is a new record o...more >>

accass violation error on calling a function from a external assembly
Posted by j.s. at 1/25/2008 9:00:28 AM
hi foklkz, i have a big problem with a vb programm. the setting: - one programm P written i vb - one assembly A written in boo wich inherits from a class B written in vb and contains three functions i call from P f1,f2,f3. - both call functions from different assemblies (A1,_,An) writte...more >>

vb.net
Posted by jannie at 1/25/2008 8:06:59 AM
who invented or started the vb .net program? why was it used ? what sed for, business,edu, personal, which company made use of it 1st microsft,Apple, do the person work within the company where the vb stated? THis question is a who, what, when,type situation. iam not well versed in use, so please- h...more >>

Drap and Drop Question
Posted by zacks@construction-imaging.com at 1/25/2008 7:53:36 AM
I am trying to implement a form that has a TextBox control where the user will key in a SQL Script. I would like to have the user be able to drag a pre-existing query into it by dragging the file from a Windows Explorer window into it. I can get the Drag Effect to work as long as I key on the Fi...more >>

Use Class or Module for utility library
Posted by Academia at 1/25/2008 2:24:20 AM
I have a library that contains classes. A typical example is shown below. I wonder if Module instead of Class would make more sense. Are there pros and cons for using one or the other? Thanks Public Class WinDefH Public Const MAX_PATH As Integer = 260 Public Stru...more >>

VS 2008 control settings not persisting problem
Posted by John at 1/24/2008 10:42:22 PM
Hi I have noticed this problem with vs2008. I change settings for controls then I run the app and I don't see the changes at runtime. I stop the app and the changes are there in design mode. I close vs2008 and re-open app in vs2008 and app did not persist those changes and I have to do t...more >>

Setup question
Posted by John at 1/24/2008 10:21:53 PM
Hi In my vb.net solution I have added a setup project. What I am not sure is how to configure setup so it does below when it is run; 1. Install the app in C:\Program Files\Company Name\Product Name folder. 2. Create a menu entry in start menu as Start->Product Name. 3. Create a desktop ico...more >>

Multiple computer update philosophy
Posted by Steve at 1/24/2008 8:04:01 PM
Hi All I have several POS programs (Windows forms VS 2005) Some customers have multiple copies of the programs, all networked to the 1 SQL Server 2005 Database which resides on 1 of the computers The programs do auto updating from my website, where they download any new updates and the ...more >>

DataView Constructor RowFilter Doesn't Work?
Posted by Spam Catcher at 1/24/2008 3:30:42 PM
Hi all, I'm assigning my RowFilter like: Dim AlbumView As New DataView(AlbumDataSet.Tables("album"), "owner = " & User.UserId, Nothing, DataViewRowState.Unchanged) However, this works: Dim AlbumView As New DataView(AlbumDataSet.Tables("album")) AlbumView.RowFilter = "owner = " & Use...more >>

queuing ideas
Posted by cj at 1/24/2008 2:36:25 PM
I currently have a program that maintains a connection to a business partner. Communication to our business partner is done via a web service but it's not just wide open. We initiate a session with them by sending an xml login string via this web service and we get back a session id. Subs...more >>

When a clr has the input type of SqlString it causes nvarchar(4000) to be the parameter type of the function in sql server. how to modify my CLR funct
Posted by DR at 1/24/2008 2:10:56 PM
When a clr has the input type of SqlString it causes nvarchar(4000) to be the parameter type of the function in sql server. how to modify my CLR function to use nvarchar(max) ? ...more >>

Prove position of quotation mark at beginning of string
Posted by Ed Bitzer at 1/24/2008 1:57:42 PM
How to I assure myself that there is a quotation mark at the beginning of a field (an imported csv file with commas embedded in column one, i.e. "Bitzer, Ed")? I have read the field into an array in my program (field(x)) and the leading quotation mark is definitely there. dim x as integer ...more >>

Vis. Web developer, how to display page?
Posted by Jason at 1/24/2008 1:26:19 PM
I've got visual web developer, I've made my page and did Build > Build Web site. The directory is in a directory that is a web server on my computer but every time I try to bring up for example: http://172.16.32.54/creditformapp/default.aspx I just get source displayed and not the page. H...more >>

How would you do this?
Posted by Johnny Jörgensen at 1/24/2008 12:39:49 PM
I would like my application to check an outside file (dll) to see that it has not been modified or tampered with. Is it possible to somehow generate a unique hashcode from the file itself and check that? If so, what method would you use? Or is there other (better) solutions? Cheers, Jo...more >>

user defined window message
Posted by Nathan Smith at 1/24/2008 12:12:18 PM
I have an app that has several background threads running, and I want to use a user-defined message to tell the main form that I want it to update a object it created on startup. I know this capability is in VC++ using the RegisterMessage and PostMessage functions, but is there anything lik...more >>

Subtitles
Posted by Marek at 1/24/2008 11:14:46 AM
Hi. I'm making video player. How to display subtitles in diferrent formats on screen? Googling didn't help. Thank in advance, Marek...more >>

Deleting Application Configuration file when Un-installed
Posted by zacks@construction-imaging.com at 1/24/2008 11:05:02 AM
I have an application that stores its configuration file in the user's Local Application special folder in a subfolder COMPANYNAME \PRODUCTNAME. The application creates the file the first time the application is run. The application is installed with a setup project in the application solution. ...more >>

When Visual Studio 2008 is releasing
Posted by Saroj at 1/24/2008 10:57:20 AM
Also want to know when SQL Server 2008 is releasing. Thanks, Saroj. ...more >>

Not quite an enum, not quite a dictionary
Posted by psychopif@hotmail.com at 1/24/2008 10:56:09 AM
I have a list of strings each represented by a number. I want those string to be constant and put as litle hit as I can on the performance of my application. The strings are mutualy exclusive, juste like an Enum. I would use the Enum, but my string contains special caracter and spaces. I would u...more >>

Help with a delegate
Posted by John Wright at 1/24/2008 10:25:45 AM
I have a delegate that I have defined as follows: Public Delegate Sub myDelegate (ByVal txtBox as TextBox, byval Port as System.IO.Ports.SerialPort) I have a sub with the same definition. When I try to call the delegate with an invoke I can't figure out the syntax to call it with both par...more >>

a couple vis. web developer queastions
Posted by Jason at 1/24/2008 10:11:40 AM
I've got Visual Web Developer 2005 express. Is there a rich textbox object anywhere? where? I use a streamwriter to write a file, is there a way after I write and save the file I can then print the file as well? here is what I am doing, just to write the file, but I would like my program...more >>

Option Strict Off/On
Posted by Greg at 1/24/2008 7:48:01 AM
We have an application in our office that has the Option Strict option set to off right now. I do understand it should be set to ON, but right now, I'm just going to continue with it this way since I do not have the time to fix everything to set it to ON. Anyway, my question is if its set ...more >>

RegularExpressions length.
Posted by alexvorn2 at 1/24/2008 4:10:23 AM
This is the code for finding a text that is between "<" and ">": Dim fileContents As String = My.Computer.FileSystem.ReadAllText("c:/test.txt") Dim RegularExpression As New System.Text.RegularExpressions.Regex("<((.|\n)*?)>") Dim returnValue As String = RegularE...more >>

MouseWheel Event on a picture box (Newbie)
Posted by rossmclean@gmail.com at 1/24/2008 2:09:22 AM
Hi, I'm trying to get the mouse wheel event, but i cant quite nail it! I have tried a few things, but I never get it to work, although I did have it working at one point, but now it's stoped!!! I have in my form code: Sub PicBoxMap_MouseWheel(ByVal sender As Object, ByVal e As system.Windo...more >>

log4Net
Posted by john Devlon at 1/24/2008 12:50:36 AM
Hi, Does anyone have some experience on log4Net, using vb.net code in visual studio 2005? I've installed the download and added a reference in my solution. I also added "imports log4net". But how do I start the logging? Does it log everything? Where is the log-file stored ? Thanx ...more >>

RegularExpressions length.
Posted by alexvorn2 at 1/23/2008 11:38:15 PM
This is the code for finding a text that is between "<" and ">": Dim fileContents As String = My.Computer.FileSystem.ReadAllText("c:/test.txt") Dim RegularExpression As New System.Text.RegularExpressions.Regex("<((.|\n)*?)>") Dim returnValue As String = RegularExpre...more >>

Now that I have Project->Add Existing Item....???
Posted by Lee at 1/23/2008 7:17:34 PM
OK, gang, you have answered my question about using previously written code by doing Project -> Add Exiting Item. At that time the file is located in the Solution Explorer. How do I then reference any functions from the main program??? Thanks Lee...more >>

Excel 2003 in vb.net
Posted by Andrius B. at 1/23/2008 5:03:20 PM
Hi all. It was everything all right while in my VBproj was a reference to Microsoft Excel 10.0 Object library added . I have migrated to MS Office 2003. So, I can add Microsoft Excel 11.0 Object library instead. But now I can't use any of Excel objects (Workbook, Worksheet and so on)... ...more >>

How do I write an add-in for IE?
Posted by jim at 1/23/2008 4:19:00 PM
I'm looking for sample code to help me learn how to write a toolbar add-in for IE. It can be VB6, VB.Net, C# ... heck, I may even try a little C++. Whatever you've got....I want it. Thanks! jim ...more >>

Programmatically scroll a Tablelayoutpanel
Posted by Steve at 1/23/2008 4:14:32 PM
Hi All I have a Tablelayoutpanel in VS 2005 which I populate in code with datagridviews As my program runs on Touchscreen computers I would like to add up and down scroll buttons, as the default scrollbars are hard to target I do it within datagridview controls using the datagridview ...more >>

Class Modules
Posted by Greg at 1/23/2008 3:47:01 PM
I’ve created the class below. It contains three properties (which I will be referring to as fields). They are intProcessStep, strProcessCode and strProcessDesc. Public Class myProcess Private m_strProcessCode As String Private m_strProcessDesc As String Private m_intProcessStep ...more >>

Data Types and Storage
Posted by Greg at 1/23/2008 3:02:03 PM
I've come across a few statements that conflict eachother and I'm wondering what is correct. I cam across a web-site (I do not remember the site right now), that explained each data type. For the NVarChar data type it suggested that you never store a NULL value. It said, if you have a NULL...more >>

How to find Me in a library procedure
Posted by Academia at 1/23/2008 2:38:42 PM
I have a procedure and in the procedure I use "Me" Since I have multiple copies of this procedure in various places I place it into a library as a Shared Sub. The problem is in the library I can't use Me so I add an argument like: ( ByVal c as Control, ...) and call it with Me as the param...more >>

Setting category / event ID when tracing in VS2008
Posted by theartiststillknownasgarvin at 1/23/2008 2:37:00 PM
I am using an EventTraceListener to display certain significant events in a VS2008 console app that runs on a server. I am able to write "Trace.TraceError" messages, as well as information and warning messages, along with my message text. However, I cannot figure out how to the category and...more >>

Len Function - confusion
Posted by Demosthenes at 1/23/2008 1:19:09 PM
this is from MSDN: "Returns an integer containing either the number of characters in a string or the number of bytes required to store a variable." under what circumstances does the Len function return the number of bytes to store a variable, and how do you change that behavior to give you th...more >>

Shredding XML & replacing sections..
Posted by Greg Linwood at 1/23/2008 12:56:36 PM
I'm wondering what is the best way of replacing a set of nodes with an XmlDocument with another set of nodes? I'm limited to VS2003 (VB) for this unfortunately.. I essentially need to replace a specific range of nodes with another range, eg change this document: <doc> <node1>val1</node1> ...more >>

ByRef param not populated using Reflection
Posted by Steve Amey at 1/23/2008 11:11:13 AM
Hiya I want to execute a function using reflection and retrieve the value of a string using a ByRef parameter. When I Invoke the MethodInfo passing in the string parameter, it gets populated in the correct function but when I come back out of the function that value is not passed back to th...more >>

len() function returning byte length instead of string length
Posted by Demosthenes at 1/23/2008 10:56:13 AM
I think what is happening here is that the string length is being reported as the size of memory needed to store the string. 'code in my thread Dim inData As String = "hello world" Dim dlg As New ShowReceiveDataDelegate(AddressOf populate_grid) 'instantiate delegate Dim args() As Object = ...more >>

Object reference not set to an instance of an object
Posted by cmdolcet69 at 1/23/2008 8:45:59 AM
I get an Object Reference not set to an instance of an object when my code is hit on the pfile.GraphicArrowLimits Public Function AddGraphicArrowLimitsToScreen(ByVal compSelected As String) As Boolean Try If compSelected = "-Blank Entry-" Then compSelect...more >>

Class and Button
Posted by hngo01 at 1/23/2008 5:45:02 AM
all, I have a class that has an event. Whenever that events inside my class fires, I want to run a "Button1_Click" inside Form1. Is that possible? Thanks...more >>

Sending scroll messages to external applications
Posted by Thomas Wieczorek at 1/23/2008 1:16:21 AM
Hello! I am starting and resizing external applications(Microsoft Word/Excel/ Powerpoint Viewer Notepad, Acrobat Reader) to display some documents. I have to scroll some off those windows, too. I think I need the Win32 API function FindWindowEX to find the scroll control or the Edit control t...more >>

could not convert the signature for member DISPPARAMS.rgvar
Posted by Academia at 1/22/2008 9:49:27 PM
in vs2005 I added a reference to component name "tom" from riched20.dll. In vs2008 I now get the warning: Type library importer could not convert the signature for member DISPPARAMS.rgvar The rich edit controls that ships with XP SP1 is in Msftedit.dll (v4.1) and Riched20.dll (v3.0) I...more >>

For ClickOnce, all solutions on same VS version?
Posted by Dean Slindee at 1/22/2008 8:25:24 PM
I have two Visual Studio 2008 solutions and one VS2005 solution. The VS2005 solution is referenced by the VS2008 solution and compiled together into the VS2008 solution. This works, at least as far as compilation and testing goes. Even publishing goes to a successful conclusion *within* VS2...more >>

Unicode to Ansi Conversion
Posted by Gino at 1/22/2008 5:55:25 PM
I have written an application which uses a streamwriter to create which is exported to a third party system. The third party system does not appear to process the files in its original format. I have identified this as resulting from the streamwriter outputing in Unicode. If I open the tex...more >>

Crystal Reports with parameters...again.
Posted by Tony K at 1/22/2008 5:28:04 PM
I want to create a report to show information using parameters. I have setup the report to accept parameters but I want the parameters to come from a WinForm that shows the same info in a datagridview on a separate WinForm and not ask the question as the form loads. Last week, Terry gave m...more >>

Where is "Find in Files" in VS2008
Posted by Academia at 1/22/2008 4:59:56 PM
I just installed VS2008 and Edit menu has "Quick Find" and "Quick Replace" but no "Find in Files" nor "Replace in Files" Help says: On the Edit menu "Find and Replace" should be there but it is not. Nor is Tools/Options any help Can you tell me how to make them show? Thanks ...more >>

Encoding problem on VB.Net 2005
Posted by Lorenzo Puglioli at 1/22/2008 4:57:01 PM
Hi all, in my windows application I have to read a text file to a string array. The file contains a û character (code 251). On my pc all works fine, but in the production one the û characters disapperas, the string resulting 1 character shorter. The code that do the reading is shown her...more >>

Determine table structur
Posted by Markus Weber (Megalith GmbH) at 1/22/2008 4:21:53 PM
Hello! I just want to check with "ADO" and "SQLConnection" if a table exist and what columns the table have. Does somebody know how to do that? Thanks in Advance! Markus ...more >>

File IO using multiple writers in sequence
Posted by SurturZ at 1/22/2008 4:20:36 PM
OK maybe I'm missing something obvious. Look at the following code: Using fs As New FileStream(My.Computer.FileSystem.SpecialDirectories.Desktop & "\junk.txt", FileMode.Create, FileAccess.Write, FileShare.ReadWrite) Using sw As New StreamWriter(fs, System.Text.Encoding.A...more >>

determining size of object
Posted by Anthony Sox at 1/22/2008 4:05:54 PM
Hi all is there as way i can tell the amount of memory my object takes. for example if i have a collection of employee object say of 20, how much memory do they take e.g. 500kb. thank you. ...more >>

how to know what file to print?
Posted by jabslim via DotNetMonster.com at 1/22/2008 3:33:54 PM
hi guys! i need help with printing. i want to print it with the filename "c:\testfile.doc". i use the code below for it to disable the use of color ink, but it doesnt print anything. --------------------------------------------------------------------------- Dim printDoc As New Printin...more >>

User control with two panels
Posted by Mickel Kurtis at 1/22/2008 10:54:01 AM
Hello, I need to create an user control with two Panels, and allow to insert other controls in design time. Im using VB 9 (VS 2008), I found code to allow the insert of controls to the user control, but the inserts are in the control as a container, and not the panels, I need the panels to be ...more >>

DOT Net Books - Jumbooks.com
Posted by Deepak.Verma3441@gmail.com at 1/22/2008 9:17:55 AM
Hi, I found some useful books on http://www.jumbooks.com Kindly have a look on them: http://www.jumbooks.com/books/Computers%20and%20Internet/apress%20asp.net%202.0%20revealed http://www.jumbooks.com/books/Computers%20and%20Internet/101%20microsoft%20visual%20basic%20net%20applications http...more >>


DevelopmentNow Blog