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 > december 2004 > threads for wednesday december 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 29 30 31

color entire row of datagrid
Posted by Starbuck at 12/1/2004 11:57:48 PM
Hi Using VB.Net and Datagrid. I have figured out how to set the color of a column depending on a value in the column, but how do I color the entire row? Thanks in advance ...more >>


sms sending
Posted by Kishan Hathiwala at 12/1/2004 11:23:43 PM
is there any way you can send sms from PC using vb/asp programs? i recently download program which send sms but it connects to my blue tooth (attached to my computer) to my mobile blue tooth and using that thing it send sms. is there any other way? ...more >>

SQL query and system DATE problem
Posted by seegoon at 12/1/2004 11:05:24 PM
Hi to all. I have a small problem I hope someone can help me with. I am running a sql query to a csv file. The query searches for the total of a column between 2 dates. This is a copy of one of the query's: Dim SF_SMT As New OleDb.OleDbCommand("Select count(*) from fault_records.csv where ...more >>

Create Directory in a shared newtok directory
Posted by Paul Bromley at 12/1/2004 10:50:23 PM
How can I create a directory within a shared ntwork directory?? sServerName - is the Server name "\Docs" - is the shared directory "\Others" - is the directory to create. The following does not work, although I can through code open and copy files from "\Docs" Directory.CreateDirect...more >>

Naming variable
Posted by Michael at 12/1/2004 10:38:25 PM
Hi, What is the naming convention in .NET when it comes to naming a variable like "StudentID"? Is it "StudentID" or "StudentId"? For variable like "myHtml", I know the "HTML" part must be "Html". But there is some confusion when it is only 2 characters, like in "ID". Is is "ID" or "Id"? ...more >>

Datagrid Control Issue
Posted by John R. Dougherty at 12/1/2004 10:35:02 PM
The program was written by a different developer who never finished it. Basically, it is a front-end to an Access database that probably should have been done in Access itself. My question concerns the DataGrid control. This control is used on about 30 different forms. The user wants to be...more >>

Dotnet win32 on Citrix -- Info needed
Posted by Dr.Jekyl at 12/1/2004 10:05:26 PM
Are there any issues that I need to be concerned with either in designing,developing or deploying a VB.Net win32 application on a Citrix server for concurrent usage by 100 users? The application uses a SQL server backend. I have experience developing thin client apps using ASP.net and thin cli...more >>

How can i access form controls in VB.NET
Posted by Mamatha at 12/1/2004 9:12:38 PM
Hi I have a small application in VB.NET,it consists of one form,one class and one module.I have declared one thread globally in module to execute the function in the form.I started that thread in a class. In that function of the form i had wrote code like that : Open a text file and readi...more >>



Default XP Theme support?
Posted by Terry Olsen at 12/1/2004 9:08:52 PM
I paste the following code into each project to get XP theme support. 'Add this at the beginning of any program to enable Windows XP Visual Styles <System.STAThread()> Public Shared Sub Main() If OSFeature.Feature.IsPresent(OSFeature.Themes) Then System.Windows.Forms.Application.E...more >>

Remote Debug
Posted by Russ Larrivee at 12/1/2004 8:19:49 PM
If I can attach to a process and debug it from the IDE so long as it is running on the same machine as the source files. If I move the application to another machine, I can attach to it but all my breakpoints show the ? Does anyone have an idea why this is happening? Regards, Russ Larr...more >>

This should be so easy!
Posted by agarrettb NO[at]SPAM hotmail.com at 12/1/2004 6:49:24 PM
Hi all, I am trying to run calc from the command line using a Process. I am clearly missing something obvious here because the command line opens but the "Calc" arg never executes...code below...thanks. Module Module1 Sub Main() Dim proc As New Process() Dim info as Proce...more >>

mouseup has to follow mousedown?
Posted by Alan at 12/1/2004 5:39:07 PM
i have a form with a label on it Private Sub Label1_mousedown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Label1.MouseDown ' do stuff End Sub Private Sub Label1_mouseup(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventA...more >>

VB.NET alone ??
Posted by Richie at 12/1/2004 5:37:14 PM
Hi all, Please help me with my doubt. I have purchased VB.NET standard edition (just VB.NET and not the entire studio). now my issue is , how do i make a composite control in VB.NET ? And how do I use it in my application ? Also, if I want to make a class library, when I say New > Project, ...more >>

Center a form over another form
Posted by Chad Miller at 12/1/2004 4:50:22 PM
How can a form be centered over another form without using showdialog with centerparent? I have tried: control.location = new point((me.clientsize.width / 2) - (control.size.width / 2), me.clientsize.height / 2) - (control.size.height / 2)) Thanks. ...more >>

find what type of DataBase I'm connecting to
Posted by Dibs at 12/1/2004 4:31:15 PM
Hi, is there anyway of telling what type of database I'm connecting to? we've upgraded a product to vb.net so its using ADODB and ODBC. The database is going to be either Access, SQLServer or Oracle. The only thing I've come up with so far is to check the registry for the driver but I can...more >>

CrystalReportViewer
Posted by tg at 12/1/2004 4:08:48 PM
My sincere apologies for the crosspost. I posted in one other ng. I am not sure which is the correct ng for this question.I'm using .NET 2003. This is the first time I've tried to use Crystal within .NET. I'm connecting to an Oracle database. I'm using System.Data.OracleClient, dll v1.1.4...more >>

How to identify the data in the form has been modified?
Posted by Justin at 12/1/2004 4:08:15 PM
I have a simple VB form with many controls. When user add/modify a record....if the user click the form close button...system should show a messagebox that "something is modified. Do you really want to close?" Instead of writing code in each and every control on the form....is there any better...more >>

how to limit app to one instance?
Posted by Ron at 12/1/2004 3:53:47 PM
Hello, Is there a property I can set in my vb.net project for limiting the number of instances of the app to one? Like if the app is already running, don't start another instance if someone clicks on a shortcut or the exe again. If there is not a property for this, what is the code to...more >>

tracert
Posted by Kishan Hathiwala at 12/1/2004 3:51:00 PM
how do i make tracert command in .net without using 3rd party software? ...more >>

A Wizard ?
Posted by Jim Burns at 12/1/2004 3:37:09 PM
I just loaded vb.net when I went to addins there were none. no class builder no toolbar wizard nothing. when I start a new project there are no wizards in VB but in C++ they still have them . did the software load correctly? ...more >>

Tabcontrol and TabPage
Posted by Maileen at 12/1/2004 3:28:04 PM
Hi, I used in the past (under VB 6), the tabcontrol and Tabpage. It was really interesting because i was able to hide the tab by themselves and user wasn't able to guess that it was tabcontrol or another form. Under VB.NET it seems that nothing is the same. now to hide to tab of tabpage,...more >>

SendKeys Help Needed
Posted by Me at 12/1/2004 3:20:56 PM
I have a Windows application (app1). When I launch it, it starts a process (myP0) that runs another application (app2). By default app1 starts minimized and is not visible in the system tray. What I want to do is code it so that when the users presses the ESC key the keystroke is captured by ...more >>

whois
Posted by Kishan Hathiwala at 12/1/2004 3:17:22 PM
i want to make a whois in vb.net without using 3rd party software. ...more >>

How to write a module for the string manipulation?
Posted by jenniferhu46 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 12/1/2004 2:56:17 PM
Hi all, I want to retrieve data from database and generate a string line with fix length characters, so I can put into a file. But this is the first time I am writing module besides ASP.NET. I need help from you. I wrote the code like this, and I don't how to put into a string line......more >>

best way to retrieve thousands of records.
Posted by jaYPee at 12/1/2004 2:33:47 PM
I have currently using a dataset to access my data from sql server 2000. The dataset contains 3 tables that is related to each other. parent/child/grandchild relationship. My problem is it's very slow to retrieve records from sql server. I'm using sqldataadapter.fill method to populate dataset...more >>

Regex question: Retrieve group names in code?
Posted by Jeff Johnson [MVP: VB] at 12/1/2004 2:17:32 PM
[Pardon the crossposting, but it seemed appropriate given the lack of a dedicated group] Is there any way to retrieve the name of a capture group from the classes provided in the RegularExpressions namespace? GroupCollection implements ICollection and IEnumerable, not IDictionary, so there ...more >>

Nobody Seems To Know
Posted by Atley at 12/1/2004 2:13:57 PM
I am trying to run an application on a Win2k server from a client in Terminal Server and hear the beeps and sounds on the client machine. I have looked everywhere I can think of for help on this. I have checked MSDN and several code-source sites to no avail. Wonder if this can actually be d...more >>

Clients In Terminal Services
Posted by Atley at 12/1/2004 2:10:02 PM
Is it possible, and if so, how would I run an exe within a MDI container? I want to have a container application running on a client machine to open and run an application from a server? ...more >>

MDI question
Posted by Maileen at 12/1/2004 1:46:53 PM
Hi, I have a FMain form which is a MDI container form. after I have 2 forms FCustomer and FPrice which should be displayed inside my FMain MDI form. However, I don't want to have some side effect of MDI-childform behaviors. 1. how can i avoid that my FMain form display in his text : MyAp...more >>

Explorer-like file browser control?
Posted by Jack Black at 12/1/2004 1:27:28 PM
Hi, all! Using VS.Net '03... Is there an Explorer-like control in .Net? I see there's a FileListBox and a DirListBox, but I really want something more Explorer-like for users to browse with. An OpenFile dialog is not what I'm looking for... Any ideas? :) Thanks! Jack...more >>

Can you tell the compiler to turn off support for Err object?
Posted by Samuel R. Neff at 12/1/2004 1:21:41 PM
I came across this inside an exception handler today when reviewing some of my code: L_0010: call void [Microsoft.VisualBasic]Microsoft.VisualBasic.CompilerServices.ProjectData::SetProjectError([mscorlib]System.Exception) L_0015: call void [Microsoft.VisualBasic]Microsoft.VisualBa...more >>

Can someone explain this ISNULL sentence for me?...
Posted by Jan Nielsen at 12/1/2004 1:03:55 PM
Hi I am working with rowfilters in dataviews. I would like to filter for empty fields (= null value in the database) I found this sentence on msdn: **************** To return only those columns with null values, use the following expression: "Isnull(Col1,'Null Column') = 'Null Column'" ******...more >>

Convert RGB image to CMYK
Posted by James at 12/1/2004 12:36:03 PM
Need help to convert a RGB (jpg) image to CMYK colors... Is it possible to convert i using GDI+? Can someone please give me som guide lines. Thanks for you help and time. Best Regards -James A Taber ...more >>

Compare part of object in an arraylist
Posted by Sam at 12/1/2004 12:28:39 PM
Hi Everyone, I have a stucture below stored in an arraylist and I want to check user's input (point x,y) to make sure there is no duplicate point x,y entered (string label can be duplicated). Is there a way to compare the new input point x,y without having to a loop and compare the whole objec...more >>

Threading Part 2
Posted by Charles A. Lackman at 12/1/2004 11:48:02 AM
Hello and thank you for your assistance. I have attempted to accomplish what I need using delegates with no success. i.e. //Button Click// Dim PollThread As Threading.Thread PollThread = New Threading.Thread(AddressOf PollThreadAddress) PollThread.Start() End Sub Private Sub PollThread...more >>

try
Posted by myname at 12/1/2004 11:00:37 AM
this msg is trial...more >>

RaiseEvent???
Posted by John at 12/1/2004 10:49:02 AM
I have FormA and FormB, and wish an event raised by FormB can be trapped by FormA. Is that possible? It seems that the FormA cannot trap the event by using the following code. Any suggestions? Thanks. ' in FormA Private WithEvents m_frmA as new FormA '... Private Sub OnFormBDataChanged(Id ...more >>

DoEvents resetting variables
Posted by Tym at 12/1/2004 9:55:59 AM
Made the change from vb6 to vb.net and have found that DoEvents() doesn't work!! Well, the replacement System.Windows.Forms.Application.DoEvents() is causing hell!! I have a loop such as for X = 1 to 10 do some things Next x System.Windows.Forms.Application.DoEvents() and...more >>

print entire project or solution code
Posted by Greg Chu at 12/1/2004 9:37:52 AM
Does any one know a way to print the entire project code out? I can only see print source code one by one. Thanks! Greg ...more >>

Help with Opacity and TransparencyKey
Posted by Brian at 12/1/2004 9:20:14 AM
If your like me, you have probably seen way too many demos of the opacity property of a form. Well I finally have a need for it and I am having an issue. I am trying to create a splash screen that looks like Adobe Acrobat's which appears to draw outside its bounds. To do this, I am settin...more >>

Still looking for an answer
Posted by BrianDH at 12/1/2004 9:01:05 AM
Hi I have a web form with a Datagrid. Within the data grid I have a Column button. If the button is of type "Linkbutton" my VB code-behind will catch the users "click" However, if it is set to "Pushbutton" I am unable to trap the users click. See code Below. I don't understand what...more >>

disable button tabstop
Posted by Jon at 12/1/2004 8:03:03 AM
Hi, I can set the button.tabstop = false. but how do i clear the tabstop after the button has been clicked? the tabstop remains when the button has been clicked. thanks....more >>

Create an UNC network share
Posted by Henry at 12/1/2004 8:01:07 AM
Hi, is it possible, to create an UNC share of directory programmatically by some ..Net framework method (not just Shell .. net share)? Tanks in advance. -- Best regards Henry...more >>

Try
Posted by Aura at 12/1/2004 6:27:23 AM
this message is a trial...more >>

Running executable by a windows service
Posted by Ori :) at 12/1/2004 6:21:05 AM
Hi Guys, I need to use a windows service I created to run an executable on my system; I tried the following form OnStart, form OnContinue - nothing. Dim p As New Process Dim pi As New ProcessStartInfo pi.FileName = "ccc.exe" p.StartInfo = pi ...more >>

Moving panel in & out like a Solution explorer
Posted by Jon at 12/1/2004 6:19:09 AM
Hi, How do you make a panel which can move into the screen and move out, something like the Solution Explorer/Propertise/Toolbox etc which it will auto hide itsels on the side on the sreen? Thanks....more >>

question about dataset merge
Posted by Bauer at 12/1/2004 6:15:13 AM
I have already implemented merge of 2 datasets.Would like to clarify if this merge does not break. I have 2 datasets each having tables. ds1 has dt1 and ds2 has dt2. dt1 and dt2 differ in only 1 column. Both the datatables do not have any primary keys.when i performed a merge on both the d...more >>

getting and setting the default printer
Posted by Geraldine Hobley at 12/1/2004 4:47:03 AM
Hello, How would you get and set the current default printer by using the system.drawing.printing class or any other class. Regards Geri ...more >>

does an asynchronous thread die at the when method call ends
Posted by Dayne at 12/1/2004 3:01:28 AM
Does an asychronous thread (.beginInvoke) die when the method call ends? DT ...more >>

Newbie Question
Posted by cjobes at 12/1/2004 1:37:26 AM
Hi all, I'm still trying to understand the principle of a Windows Form Application. I created the main form with a DataSet("Attendance") that has 2 tables. After some processing I now want to show the results in a DataGrid on another form that is called ResultForm. How can I create an incide...more >>

Conspiracy theory
Posted by BobAchgill at 12/1/2004 12:48:07 AM
My firewall (OutPost) just started giving me this block message when my VB. Net form uses my FTP class code to download some files from the internet. A few minutes ago everything was fine but now my program get's blocked by a another program trying to write to my program's memory. This i...more >>


DevelopmentNow Blog