Groups | Blog | Home


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 > july 2006 > threads for friday july 21

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 29 30 31

Can you not do this?
Posted by melton9 NO[at]SPAM hotmail.com at 7/21/2006 7:56:40 PM
I'm wondering if its possible to do something along these lines. My guess is no. For i = 1 to 125 Label & i ="" next or maybe Label(i).text="" ...more >>


2005 Express Version
Posted by Samuel Shulman at 7/21/2006 6:36:18 PM
I tried to change the compile mode of the program from Debug (which I presumed it was) to release and I just couldn't find where to change it in the project properties or elsewhere Any suggestions? Samuel ...more >>

OOP Confused
Posted by Thomas.Swaney NO[at]SPAM gmail.com at 7/21/2006 5:47:44 PM
I have developed many applications in VB and eVB. I am currently working on developing an application with the .net compact framework 2.0 in Visual Studio 2005. In VB or eVB you could access another forms controls as shown below: 'From frmMain Click event frmGetPrimary.grdPrimary.DataSour...more >>

making web browser control scrollbars "3d" instead of flat in .NET 2.0
Posted by Smokey Grindle at 7/21/2006 4:56:17 PM
Anyone know how to do this? just looks odd having flat scrollbars instead of 3D ones in the webbrowser control.. thanks! ...more >>

Vb Win app crashes on start
Posted by UnkleVo at 7/21/2006 3:17:41 PM
When I start the dotnet program it crashes on start with the message "<myprog>.exe has encountered a problem and needs to close. We are sorry for the inconvenience." There are no errors in window error log. I tried to debug it at run time using mdbg.exe and it generates the floowing error:...more >>

How can I to pass an array to a DLL function?
Posted by Carlos VillaseƱor M. at 7/21/2006 3:15:05 PM
Hi everybody! I finally have success implementing my first DLL function, I have exported a C++ function with a DLL using the "Declare" statement in Basic, but now I have a doubt, how can I to pass an array in the DLL function parameters list, I need to pass y return the same array, but changed...more >>

abstract class
Posted by Ufit at 7/21/2006 2:21:20 PM
Can anyone give me an example of an abstract class and what it is used for ? Is it the same thing as virtual class in VB.NET o C# ? Thanks Uf...more >>

Difference between Cint and Convert.ToInt32 ?
Posted by Rich at 7/21/2006 2:14:02 PM
Hello txtID.Text contains a 6 digit Integer number with no decimals, no chars... Dim j As Integer = Cint(txtID.Text) or Dim j As Integer = Convert.ToInt32(txtID.Text) Is there any difference between these 2 statements? Is one statement more correct than the other? Thanks, Rich...more >>



where to store sound file
Posted by martin1 at 7/21/2006 11:34:02 AM
Hi, All, The app retrieve sound.wav file from my loacal C drive, is there anyway the sound file can be stored in the app? then when building, it goes with app rather than sending sound file seperate with app when deploying the app. Thanks...more >>

always on top
Posted by rodchar at 7/21/2006 11:21:01 AM
hey all, 1.) how do i tell my winform to be "always on top"? 2.) is there any way to make a "hole" in my window form? For instance, as i drag my form around what ever is behind my form you can you thru the hole of my form? thanks, rodchar ...more >>

WebBrowser control not responding to SetScroll API
Posted by iwdu15 at 7/21/2006 9:58:01 AM
hi, im trying to use APIs to set the scroll position of a WebBrowser control, but it wont do anything, yet a textbox will....heres the code ' Scrollbar direction ' Const SBS_HORZ = 0 Const SBS_VERT = 1 ' Windows Messages ' Const WM_VSCROLL = &H115 Co...more >>

Not first class in file
Posted by tshad at 7/21/2006 9:44:56 AM
I have a problem with a VS 2003 project. This project was designed and works fine in VS 2003. But trying to open the project I get the following error. ************************************************************ The class EmailPoller can be designed, but is not the first class in the file...more >>

acceptable rounding practices in banking.
Posted by cj at 7/21/2006 9:31:31 AM
Lets assume all calculations are done with decimal data types so things are as precise as possible. When it comes to the final rounding to cut a check to pay dividends for example in VB rounding seems to be done like this 3.435 = 3.44 3.445 = 3.44 Dim decNbr1 As Decimal Dim decNbr2 As...more >>

Coding style
Posted by Sergey Zuyev at 7/21/2006 9:24:01 AM
Hello All I work at software company and we are having a really big discussion about coding styles and it seems that more people prefer statement 1 to statement2 , which was a big surprise to me. Please help us with your comments. Thanks Which way is better way 1 or 2? 1. 'set...more >>

Can't get <ToolboxBitmap> to work!
Posted by MyndPhlyp at 7/21/2006 7:37:45 AM
(Second posting attempt) I have been through tons of old postings, several web sites, books, and even tried consulting a psychic but nothing is yielding the majik answer. I'm using VB '05 Express on a Win2K system. The project has everything grouped under various directories. The Solution E...more >>

Combo Boxes
Posted by Peter Newman at 7/21/2006 7:16:01 AM
i have a combo box which i have loaded with data, im trying to find out what event is fired do that when a user selects from the dropdown list i can use that data for a search function ...more >>

Program flow with multi-threading app - corrupted datatables
Posted by Mike at 7/21/2006 5:56:42 AM
Hi, I am building a windows app. I have two threads that continually run in the background pulling information from a website. The data I extract from the two separate threads needs to be put into various columns of the same datatable (which is defined in a dataset on my form in design time...more >>

spurious error
Posted by guy at 7/21/2006 5:05:02 AM
VB.Net2005 / ASP.net i have had strange errors in this web app before, however on a control i am building i get a blue squiggly "Name lblName is not defined" although it is defined. lblName is not visible using Me. a build page shows this as an error a Rebuild Solution does NOT error, and ...more >>

Passing an input to a process
Posted by mhmtzdmr NO[at]SPAM gmail.com at 7/21/2006 4:33:32 AM
Hi, I want to call a program and redirect the standart out to richtextbox control. I am using the procedure below. ------------------------------------------------------------------------------------------------------------------------- Public Sub RunApp(ByVal myprocess As String, B...more >>

Inserting a space into a string
Posted by Andy C Matthews at 7/21/2006 3:59:02 AM
Hi there, I'm building an Access database and using VBA to generate Microsoft Word mailings for customers. It's all going fine so far. However, a variables named ParcelID, a ten-digit string such as TQ03409954, needs to be split into SHEET ID (the first six characters) and PARCEL ID (the last...more >>

stop the painting of a form
Posted by Robert Smith at 7/21/2006 2:52:01 AM
Hello, I have a problem with a form loading a repainting. Because the form uses an office 2000 styles, when it paints it causes a lot of flickering. The standard advice is to set the following SetStyle(ControlStyles.DoubleBuffer, True) SetStyle(ControlStyles.AllPaintingInWmPaint, Tr...more >>

How do I validate the values entered for custom control properties?
Posted by Nathan Sokalski at 7/21/2006 1:11:54 AM
I have a custom control with properties named MinValue, MaxValue, and Value (all of which I have assigned a DefaultValue design-time attribute). The Value property must be between (or equal to) the MinValue and MaxValue properties in order to avoid a runtime error. I want to give an error duri...more >>

Type.TypeOf doesn't work ?
Posted by lothar.behrens NO[at]SPAM lollisoft.de at 7/21/2006 1:03:26 AM
Hi, I have some code, where I am using a variable for a given interface. One step later, using Remoting, I need Type.TypeOf("...") The following code returns Nothing, but the type above could be declared for a variable. Dim appMgr As MyInterfaces.IFoo Dim myType As System.Type = Type.G...more >>

Can I map the data received from a socket directly to a structure in VB.NET
Posted by Uma - Chellasoft at 7/21/2006 12:00:00 AM
Hai, I am new to VB.Net programming, directly doing socket programming. In C, I will be able to map the message arrived in a socket directly to a structure. Is this possible in VB.Net. Can anyone please help me with some sample codings and guidance? Can you also suggest some other news g...more >>

Msgbox to asp client?
Posted by Betina Andersen at 7/21/2006 12:00:00 AM
I have inherited a VB.NET dll that I am using from common asp. My problem is to get the messages from the dll to the Ie client, I can = see the messages in the Eventlog on the IIS server so I know they are = there, but how do I get them to show in IE? The original code was: MsgBox("Kunne ik...more >>

Detecting when VB.net 2005 splash screen closing or closed
Posted by steve at 7/21/2006 12:00:00 AM
Hi All I have a form set as the splash screen in VB.net 2005 application properties How can I tell when it has or is closing, as I want to then run some licence checking code without the splash screen interfering with msgboxes which may need to be displayed if the licence is invalid or mis...more >>

VB.net 2005 splash screen and main form problems
Posted by steve at 7/21/2006 12:00:00 AM
Hi All I have a VB.net 2005 App which has a form set as the Application splash screen in Project properties Another form is set as the startup form All works great until the splash screen closes or I close it to allow error messages to be displayed from Licence or Database checking erro...more >>

DATAGRID DROPDOWN PROBLEM
Posted by Savas Ates at 7/21/2006 12:00:00 AM
It is in my <EditItemTemplate> Tag.. <asp:DropDownList Runat=server ID="CIdeefixeSatis" SelectedIndex='<%# SelectMyIndex(DataBinder.Eval(Container, "DataItem.ideefixesatis")) %>' > <asp:ListItem Value="True">Stokta Var</asp:ListItem> <asp:ListItem Value="False">Stokta Yok</asp:Li...more >>


DevelopmentNow Blog