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 2005 > threads for wednesday february 16

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

textbox
Posted by Steve at 2/16/2005 10:30:15 PM
In vb.net 2003 Tha language is english Is there any way to make a textbox type right to left. I saw this option in the properties of the textbox. But from reading documents online I understand it to only work in a couple of languages. Thanks for any help. ...more >>


.net framework
Posted by Steve at 2/16/2005 10:16:58 PM
Where can I go to see how to include the .netframework in my set up and deployment. And how do I get my installation to check if .net framework is installed on the users computer, and if not it will install it. I am new to vb .net and this is the first application I have written. I am using...more >>

App.config Question?
Posted by Debbie Carter at 2/16/2005 9:45:50 PM
Is it possible to place this inside of my app.config file and if so would anyone know how to properly format the "value" string so when I get this value it comes out the correct way? <add key="OleDbConnection1.ConnectionString" value="Provider=Microsoft.Jet.OLEDB.4.0;Data source=" & Applicati...more >>

Possible to get name of calling class and function?
Posted by Don at 2/16/2005 9:43:01 PM
This may seem like an odd question, but is it possible to get the name of the class & function that is calling a function of another class? e.g. Public Class CallerName Public Shared Function Test() As String Return <the name of my caller> ' <--- is there a way to do this? ...more >>

?
Posted by WhoopDing at 2/16/2005 8:30:12 PM

Acessing Functions in Module
Posted by Dennis at 2/16/2005 6:31:02 PM
I have a Class Library which also contains a Module with various Functions. I started a new project and added a reference to the Class Library DLL. I can access all the Classes in the Library ok but cannot access the Funcitons in the Module. Everything is Public including: PUblic Module ...more >>

Showing Form in Sub Main
Posted by Dennis at 2/16/2005 5:49:03 PM
I have a Sub Main from which I show a Form: Public MainForm as New Form1 <STAThread()> Public Sub Main() MainForm.Show() Application.Run() End Sub The MainForm (Form1) shows ok and runs ok until I show a Form2 from Form1. This works Ok but when I close Form2, I get an er...more >>

datagrid column sizes
Posted by Starbuck at 2/16/2005 5:07:00 PM
Hi Is there anyway of capturing when the users adjusts the width of a datagrid column so the new column width can be stored. Thanks in advance ...more >>



Properties Editor
Posted by Rob T at 2/16/2005 4:58:17 PM
Is there a control that will allow you to change the properties of an object.... I'm looking for something just like the properites window in the Visual Studio form designer........ -Rob T. ...more >>

Accessing registry values from a windows service
Posted by Stu at 2/16/2005 4:41:12 PM
Hi, I am storing various settings for a windows service in the registry - but for some reason the windows service will not read them. Namespaces: Imports System.ServiceProcess Imports System.IO Imports System.Diagnostics The class inherits: Inherits System.ServiceProcess.ServiceBase ...more >>

Multi project solution
Posted by Vasilis X at 2/16/2005 4:05:39 PM
Hello. Propably a simple question : I have a multi project solution in vb.net. In detail, i have a project "Main" and projects A,B,C. How can I switch between projects ??? Thanks in advance, Vasilis ...more >>

Web service + call mathod
Posted by John Wels at 2/16/2005 3:41:55 PM
Hi. I would like to ask how can I make application, which from user get name of web service, name of method and their parameters. And that program call that method and give back response in Xml format(optional) . It's possible? Thanks for answer. ...more >>

? Trapping events from a dyanamically created Datagrid - VB .NET.. DOH!
Posted by news.zen.co.uk at 2/16/2005 3:28:17 PM
Hi Guys, Am putting together a WEB App with an ever nearing deadline :o( I've a Master Datagrid (defined in the ASP page) containing in the second column a (details) datagrid (dynamically generated with the ItemDataBound event for the master). Got the basic code from the excellent article ...more >>

Creating Word Document Issue
Posted by Arvind P Rangan at 2/16/2005 2:58:25 PM
Hi all, trying to create word document using following syntax in c# private Word.ApplicationClass oWordApp = new Word.ApplicationClass(); Application throws error as : Exception Details: System.UnauthorizedAccessException: Access is denied. The ASP.NET process is not authorized to acces...more >>

Location of previous focus row/column
Posted by Sam at 2/16/2005 2:53:20 PM
Hi all Is there an easy way to find the previous Cell or Row that user just left on DataGrid Control or Table. For example, if I'm currently on Row 1 Column 2 and then I click on Row 3 Column 5. Is it possible to know the previous location of my focus? What I'm trying to do is that if user cha...more >>

Web service
Posted by John Wels at 2/16/2005 2:42:04 PM
Hi. I would like to ask. IN my program I have refferences to any web Service. When I want call some method of this service I use: Dim myservice As New cx.dragon.amaral.Calculator Messagebox.show(myservice.Add(10, 10)) It returns 20. How can I receive response from that method ...more >>

Read Key of a Collection Object Item
Posted by Kevin L at 2/16/2005 1:43:00 PM
I have a collection. I am looping through the collection using a FOR EACH. Is there a way to access the Key from the current item? This code obviously does not work, but I am providing it to illustrate the value that I am trying to get. Dim MyCollection as New Collection Dim objItem...more >>

can't find a C++ to VB.Net or C# translator
Posted by Bob at 2/16/2005 1:26:27 PM
Anyone know of any good tools to translate C++ code into VB.Net? I don't care about it not being able to translate everything perfectly - I just want most of the repetative, obvious stuff done for me automatically. Bob ...more >>

VB.NET Equivalent of C++ RegisterHotKey
Posted by Randy Cox at 2/16/2005 1:22:45 PM
I'd like to implement a hot key in my VB.NET application. I've seen a sample of C++ code that used the 'RegisterHotKey' and 'UnregisterHotKey' routines. Are there VB.NET routines that function like them? Any VB.NET code samples or web sites about implementing hot keys would be appreciated. ...more >>

storing colour values
Posted by Starbuck at 2/16/2005 12:13:54 PM
Hi Using VB.NET I am scratching my head over a little issue that has me foxed. We have a form which has a selection of label controls and buttons. The idea of the form is to allow the user to select different background and foreground colours for different events. The user c...more >>

ListView Sorting
Posted by Alex Levi at 2/16/2005 12:07:03 PM
How it is possible to sort ListView by clicking on the column when I have numeric values (as string) in the column? I tried to add numeric values into the listview, but it addes them as strings. I can sort the column but I'm getting string sorting, for exp: 11,111,1111,22,222... Thanks...more >>

DefaultValue problem
Posted by schneider at 2/16/2005 11:47:01 AM
Hello, Have an issue with a property using the DefaultValue(True) attribute. Imports System.ComponentModel Public Class Class1 Private m_testValue As Boolean <DefaultValue(True)> _ Public Property test() As Boolean Get Return m_testValue ...more >>

A XML question
Posted by Nikolay Petrov at 2/16/2005 11:44:29 AM
Hi guys, I am looking for a general answer of my quistion, no specific code. What I need to do is to read data from a text file, parse it and save it as XML. I have an sample XML file and XML Schema(.xsd) file for validation. I can easly read the data from the text file in put in in DataSet, b...more >>

still i couldn't got my answer
Posted by gaffar at 2/16/2005 11:21:36 AM
i have created a databse by using ADOX. in tables are created and assigned primary key through the applcation now my problem is i have 1 master table and 3 child tables. in master table i have one field 'contact_id' this is primary key. and in the remaining 3 tables i have foreign key as ...more >>

URGENTLY needs help! Form loads and immediately unloads?!
Posted by John Doe at 2/16/2005 10:51:06 AM
Hi, Hopefully someone can help me on this one. I normally start all my VB apps from a Sub Main, which I place in a code module. This Sub then instantiates a form, i.e Public Sub Main() Dim MyMainForm as new frmMain MyMainForm.Show() End Sub NOW, (dunno when exactly it stopped worki...more >>

Referencing another form's controls
Posted by John at 2/16/2005 10:48:42 AM
Hi, I'm still having trouble with referencing a ListView control (in Form1) from a second form (fmOps). I'm getting an "Object reference not set to an instance of an object" error, which I think is occuring at the "For Each itm In Me.openingForm.lstWrkFiles.Items" line. Can anyone tell me...more >>

vb.net developers
Posted by Bob at 2/16/2005 10:37:12 AM
How difficult is it to hire a good programmer with both DotNet and SQL experience? I'm not interested in hiring (well, not at the moment at least); when I set up a new site with a custom software package I always have to give the customer an idea of how replacable I am should I become unavailabl...more >>

Debugging a DLL in VB 6
Posted by clink at 2/16/2005 10:29:04 AM
I am new to VB and I am trying to debug a SMTP On_Arrival message sink. I would like to be able to do this real-time (I have been told this is possible), but I can't seem to get it to work. Anyone know how to achieve this? I am running this on Win 2000 using VB 6.0. FYI, the sink DLL is ...more >>

Parameter is incorrect
Posted by Lee Newson at 2/16/2005 9:53:12 AM
Hi, I have a strange issue with a program i am writing in VB.NET. I have been working on this program for about a month now and when i started working this morning every time i hit backspace or delete i get an error message box saying that a parameter is incorrect... When i left work yesterda...more >>

Binding data to a listbox
Posted by UJ at 2/16/2005 9:05:07 AM
Before I even start, let me say I'm an idiot and get that out of the way. I've search the help file, searched the newsgroups, search support.microsoft.com and can't figure out what is wrong. I have a listbox on a windows form that I'm attempting to bind to a datatable. Here's the code I do:...more >>

Debugging Issue
Posted by Sindbaad at 2/16/2005 8:05:03 AM
I'm newbie to VB.net, I used to work on Ver VB 6.0. When I'm debugging using VB.Net it is not allowing me to update any code when I'm running. Also when I do F8 it is not taking me thru the whole code, it goes into the initial event and then it exits the debugger and runs the whole applica...more >>

Service start issue on Computer restart
Posted by amirmira at 2/16/2005 7:57:06 AM
I have a Windows Service developed in VB.NET that attempts to connect to a database as soon as the service starts. I have no problem when I start the service manually - but when I restart the computer that hosts the service, I get a Null Reference Exception when I try to connect to the databas...more >>

Screen Control
Posted by zoneal NO[at]SPAM yahoo.com at 2/16/2005 7:38:34 AM
OS: Win XP Language: VB.net or C# I have a program where I need to launch 2 separate instances of an App called "Main.exe". Each instance will need to be piped to there own video display. Both displays need to be running at a screen resolution of 640x480. I am able to force to screen re...more >>

New Value added to Combo is not visible
Posted by Sindbaad at 2/16/2005 7:23:03 AM
Hi, I have a databound Combo Box where I'm adding a new value to the database on the Click of the button. I'm able to see the ComboText and it is writing to the database. But when I do a refresh on the Combo I'm not able to see the added value in the Combo. Please assist. Below is the co...more >>

Hot Key Underline
Posted by GAR in KY at 2/16/2005 6:53:03 AM
How come the underlines do not appear for my Hot Keys on my VB.NET apps until I hit the <Alt> key after the form is loaded then they all appear but the focus shifts to the first dropdown menu?...more >>

.NET Alternative to CreateObject
Posted by jack at 2/16/2005 6:47:29 AM
Hello, Can anyone suggest and alternative to CreateObject in .NET? I do not want to include a reference for DLLs that I use in my application. I would like to instantiate classes in DLLs using data from an XML file. For example, if I were to use CreateObject, I would get the progid of the o...more >>

Detecting whether a form has been closed or not
Posted by Xero at 2/16/2005 6:37:03 AM
How do you detect whether a form has been closed or not? Thanks. -- Xero http://www.chezjeff.net My personal web portal...more >>

update takes long time
Posted by Brian at 2/16/2005 6:31:07 AM
Hello, I have a vb.net web app that I am doing reads and adds to a database. Everything works fine and happens instantly. I recently added an update and it takes a long time to finish. I was wondering if there was anyone else who experenced this problem and if there are any ways around...more >>

Communication between threads?
Posted by dast at 2/16/2005 5:29:09 AM
Hi, I have a background thread that opens a form. But when that thread ends, the form I opened disappears. This makes me want the background thread to tell my main thread to open the form instead. The form should be opened by my main thread when my communication thread receives a certain...more >>

Set Password in Crystal Report
Posted by Red at 2/16/2005 5:01:46 AM
Hi all, Im having password for my database in ms Access, Anyone know how to set the password in crystal report if I want to connect the database. Thanks...more >>

Monitor an mailbox without using Outlook
Posted by Huahe at 2/16/2005 1:57:03 AM
I need to monitor an mailbox and whenever i receive an e-mail, i need to process this e-mail. I know my problem is very similar to that of the thread "Monitor Outlook Mailbox for new e-mail and process e-mail in VB.Net Application". De key difference is not to use Outlook. thanks in advance...more >>

Load large files
Posted by platinumbay at 2/16/2005 1:55:57 AM
I am trying to load large flat files; > 250 MB. What is the best practice for this? I have already read through everything I could find on Google, to no avail. I have a SQL DTS process that will load the file in about 7 minutes. My code takes about an hour. Here is a snippet: ...more >>

MsgBox formatting.
Posted by joisey NO[at]SPAM mindspring.com at 2/16/2005 12:22:28 AM
I have about 20 MsgBox occurance in by program, which I use to inform the user of the progress of the program, or ask confirmation of an action, or simply to act separators to various parts of the program. They all vary in size and shape depending on the text length. To make the looks of ...more >>


DevelopmentNow Blog