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 > march 2004 > threads for thursday march 4

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

How do I make a HTTP (POST) call to DLL to make HTML?
Posted by Peter Kaptein at 3/4/2004 11:42:26 PM
In some applications you see a HTML page in the Web-browser call a DLL instead of a .asp page. The result is HTML presented in the browser. I have seen this working for stand-alone apps as well (Internet Explorer does the same) == Questions 1) How does this work? 2) How do I set up the ...more >>


C# or VB.NET in Windows CE?
Posted by kplasun NO[at]SPAM hotmail.com at 3/4/2004 11:20:56 PM
Hi, I'm supposed to develop a Windows CE app in VB.NET, I'd prefer C#. Is there a reason to use VB.NET in WinCE over C#? Isn't C# more powerful, or is the difference mainly in syntax? Or are the benefits to using VB.NET? If it's preferable to use C#, what reasons should I use? Thanks a lot ...more >>

telling when the db connection is retrieveing data
Posted by Brian Henry at 3/4/2004 9:58:33 PM
is there a way to tell when the database connection is retrieveing data? i saw the connectionstate.fetching enumerated value, but of course it's not implemented yet... is there another way to do this? thanks! ...more >>

Seeking migration advice
Posted by Joseph Geretz at 3/4/2004 9:27:50 PM
I don't know if this is the right group for my question, but I'm seeking advice from knowledgable .NET developers. Hopefully I've come to the right place. I work with a document management application which is tightly integrated with the workstation Windows environment. Our software does not n...more >>

Books
Posted by Brad Allison at 3/4/2004 8:54:57 PM
I need some advice. I started with Visual Basic .NET Step-by-Step by Halverson (including Visual Basic .NET Standard). I also have gone through ADO. NET Step-by-Step. What should my next book(s) be? Today I now have the full version of Visual Studio .NET Professional. I program with visual ...more >>

The Pipe Symbol
Posted by GaryK at 3/4/2004 7:46:07 PM
Alright, I am a long time Access user, got into development with Access for work, now I am a junkie. My latest venture is into VB.net. So far I love it. However, I am doing one of those 20 one hour lesson books, and on lesson one I am stuck. How do you make a pipe symbol. I don't see it on my k...more >>

How can I call this function from another button click?
Posted by Trint Smith at 3/4/2004 7:18:58 PM
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Is it like Button1.Click()? thanks, Trint ..Net programmer trintsmith@hotmail.com *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...g...more >>

How do I use the IPEndPoint?
Posted by BadOmen at 3/4/2004 7:09:03 PM
Hi, This is used in a FAQ and it works fine wile connecting to my computer but I want to connect to an other... Original code: Code: Private _IpEndPoint As New IPEndPoint(Dns.GetHostByName(Dns.GetHostName).AddressList(0), 5124) I have tried to do it like this: Code: Private ...more >>



Why this code is not working???
Posted by JH at 3/4/2004 6:03:26 PM
Can somebody help me here. The following code works fine till the last statement. It changes to the directory but fails to execute the command install.cmd. The file install.cmd is located at the directory name. Thanks Dim directoryName As String Dim WshShell directoryName = Path.Get...more >>

Components
Posted by Peter at 3/4/2004 6:03:25 PM
Hello. Can anybody write some links to websites, where can I find any good instruction how can I make usercontrol/components/. Thanks. ...more >>

String question
Posted by Able at 3/4/2004 5:20:01 PM
Dear friends Probably a simple string question: A string has two pair of the letter "Q" like this: hfjhfdhfQtest1QfghghfhdfhQtest2Qghgh How do I retrieve the string between the first pair and the second pair? Regards Able ...more >>

Error code in building VB.Net Setup project
Posted by Simon Jefferies at 3/4/2004 5:19:00 PM
Hello, I've created a fresh VB.NET Setup project using the wizard. When I build the project I get the following error message: ERROR: An error occurred while validating. HRESULT = '80004002' Any ideas? TIA Simon Jefferies ...more >>

retrieving a single piece of data from a dataset
Posted by Mike Fellows at 3/4/2004 5:18:26 PM
im trying (with great difficulty) to retrieve 1 item of data from a dataset im trying to put the piece of data into a string from column 0 row 1 here is my code (i guess you will see what im trying to achieve) Private Function checkduplicate(ByVal Surname As String, ByVal Firstname As...more >>

Property and multiple Interfaces
Posted by Tom at 3/4/2004 4:28:58 PM
Hi I have a class that implements two interfaces, bot interfaces have the property Text, is there any way to have that a single property in my class that implements both interfaces? Thanks Tom...more >>

Is it possible to write a vb.net app that runs like a plug in inside a browser window?
Posted by tim_frawley NO[at]SPAM fishgame.state.ak.us at 3/4/2004 3:58:27 PM
Excel, Word and Adobe Acrobat will all run standalone or inside a browser window. How can I get my vb.net app to do that?...more >>

smtp email do not work with normal user rights >
Posted by simo sentissi at 3/4/2004 2:58:09 PM
Hello I have a vb.net app from where I send emails using the smtp .net class. I was developping it under my user rights (admin), but when I run it as a normal user it faces an error of the sort of can't load cdo...... I checked and all the cdo dlls are installed. doe anybody have an idea ? I...more >>

Startup Object Sub Main
Posted by Shaurya Vardhan at 3/4/2004 2:46:19 PM
Hi, I have to launch my Application after receiveing arguments from outside. And Sub Main has to be the start up object. Depending upon the Arguments, a for has to be launched. After I lauch the form, the application terminates itself when the control comes out of sub Main. I want that, th...more >>

Index
Posted by Rado at 3/4/2004 2:46:05 PM
Hello. I've got one question. In visual Basic 6 I can make one control with one name, for example "button1" and other buttons can have tha same name "button1" but with other index button1(0),button1(1)/. How can I do it in VB.NET. I couldn't find it. Thank for answers. ...more >>

Finding the directory of my installation
Posted by JH at 3/4/2004 2:30:52 PM
I want to do a custom setup using some files after installing my application? How do I get the directory where my application is installed? Can some one please help me with the code New to VB here ...more >>

Populating ComboBox from Table
Posted by lumpierbritches NO[at]SPAM aol.com at 3/4/2004 2:26:58 PM
thank you in advance for any and all assistance. I'm trying to populate a combobox with a table in VB.Net. Table Name: tblBreed cboBreed Thank you again. Michael...more >>

How to turn a 4 digit number into 24 different sequence ?
Posted by Tee at 3/4/2004 2:26:21 PM
Hi, Can anyone suggest me a good way to turn a 4 digit number into 24 different sequence in a smart way ? I mean smart way ... actually I not quite sure what I need, but just wonder if anyone have a cool way to make it. example : 1234 can change to 1243, 1423, 1432, 1423, 4123, 3124 so on a...more >>

RDL Schema
Posted by Tom at 3/4/2004 2:02:33 PM
Hi Does anyone know where I can find the schema for the RDL? Thanks Tom...more >>

Database Login In Crystal
Posted by Atley at 3/4/2004 1:54:22 PM
I have created a report in Crystal and it runs fine and comes up in the viewer and everything is great in my little world, EXCEPT: It always prompts me for a password to the database, even after I extended my code to include: Private Sub frmReportViewer_Load(ByVal Sender as System.Object, By...more >>

Changing Form BackColor in VB.Net
Posted by lumpierbritches NO[at]SPAM aol.com at 3/4/2004 1:52:33 PM
Thank you for your assistance in advance. I'm trying to change the forms backcolor with a ckBox. Michael...more >>

Open an Excel worksheet from vb.net
Posted by Gary at 3/4/2004 1:31:17 PM
Is there a way of selecting a specific worksheet in Excel and open it in the webbrowser control in vb.net thank Gary...more >>

Multiline tooltip in VB .net
Posted by Andrew Collett at 3/4/2004 12:53:40 PM
Is this possible, and if so how? Regards Andrew ...more >>

Text changed vs. click event
Posted by Barbara Alderton at 3/4/2004 12:21:07 PM
I'm writing a small ASP.NET app (written in VB.NET). It starts off with a Login screen It contains a drop-down box for the username, a textbox for the password and a link button for the sign on I want to allow the following scenarios 1) Allow the user to press 'enter' on their keyboard after e...more >>

Changing DataGrid Layout
Posted by lumpierbritches NO[at]SPAM aol.com at 3/4/2004 12:12:05 PM
Thank you in advance for any and all assistance. Is there a way to change the standard DataGrid, to say, have comboboxes, instead of just plain textboxes? Michael...more >>

Changing Detail BackColor in VB.Net
Posted by lumpierbritches NO[at]SPAM aol.com at 3/4/2004 12:11:01 PM
Thank you in advance for any and all assistance. I have a group of checkboxes; when the female gender is checked, I would like to change the backcolor property to reflect (pink) and if the checkbox male is checked to change the backcolor property to lightblue. In Access it's Me.Detail.BackColo...more >>

Me.Parent.topmost=true does not work
Posted by SamSpade at 3/4/2004 12:06:53 PM
I learned about the TopMost property from a recent post which solved some problems. But I have a situation where a control wants to make the form it is on be the topmost. It could raise an event but be cleaner if it could do it directly. I tried the following but the compiler thinks Paren...more >>

Strong Names
Posted by Scott Meddows at 3/4/2004 12:05:15 PM
I have a major problem. I have a deadline of Monday and I don't know if I can do what I need to do. (darn Crystal Reports for not migrating to a different server!) I'm adding a reference to a COM control in VS. However, my assembly is signed with a strong name. When I attempt to compile th...more >>

Send form mouse messages to a control on it automatically?
Posted by SamSpade at 3/4/2004 11:46:40 AM
I have a control on a form. Is there a way the control can receive the mouse messages that the form would normally get? I know the form could just call a method on the form but wonder if that is the best way? Thanks ...more >>

Crystal Reports, Viewing The Report
Posted by Atley at 3/4/2004 11:27:15 AM
I have imbedded a report in my project (added a report to my project and set some fields) How the heck do I access the report in my program? I have looked on MSDN and searched for a walkthrough... I can't find anything that tells me how to use the report viewer or how to bring it up on sc...more >>

OT - Cor and Herfried
Posted by ToddT at 3/4/2004 11:05:09 AM
why don't you guys just exchange email addresses?...more >>

Passing data - BUS to DAL to Param object?
Posted by Marc Castrechini at 3/4/2004 10:43:29 AM
First off this is a great reference for passing data between the Data Access and Business Layers: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/Anch_EntDevAppArchPatPrac.asp I use my own classes in the Business layer. I want to keep the Data Access layer from ...more >>

.NET application requirements (besides framework)
Posted by daddynahoj NO[at]SPAM hotmail-dot-com.no-spam.invalid at 3/4/2004 10:42:14 AM
What, besides the .NET framework, is required to run a .NET application? My nice little application with an MSChart object crashes on a computer WITH the framework installed! I'm sure it's because of this MSChart object.. Must all clients install the same Office version as I have on my compu...more >>

NullReferenceException with Application.ProductName
Posted by dotnetboards NO[at]SPAM demonit.co-dot-uk.no-spam.invalid at 3/4/2004 10:42:14 AM
Hi, I am trying to set the status bar of my form to include the product name and product version. Here is my code: Private Sub initStatusBar() Dim sSBText as String = Application.ProductName & Space(3) & "v" & Application.ProductVersion sb.Text = sSBText End Sub When I run t...more >>

Alway On Top method no longer works for me
Posted by SamSpade at 3/4/2004 10:25:58 AM
Below is what I did in VB6 to set a form to be on top. It nolonger works. Questions: Is there a reason to expect it to not work because of the new VS? Is there a reason to expect it to not work in XP? Is there an approach that does work? THANKS Public Shared Sub AlwaysOn...more >>

hard technical questions: com automation, IE, killing applications
Posted by rbell01824 NO[at]SPAM aol.com at 3/4/2004 10:09:56 AM
I'm working on a VB application that must run 24x7 for a LONG time, think 60 days of so. As part of what it does it must automate an instance of IE and navigate to many different URLs, think many thousands. Issue 1: Most of the time, these navigations succeed. All is well. But, based on ea...more >>

Why is Second Thread Blocked?
Posted by Charles Law at 3/4/2004 10:04:29 AM
I have a solution with two projects. Project1: --------- Private m_Flagged As Boolean Private WithEvents m_Project2 As New Project2 Private Sub WaitForFlag() m_Flagged = False Do While Not m_Flagged Thread.Sleep(1) Loop MessageBox.Show("Event Occurred.") ...more >>

error handling through delegates..
Posted by Ashish at 3/4/2004 9:32:48 AM
hi all, I dont know if this is possible or not, but what i want to do is specify a delegate for an exception for example iam trying to create a xml document like Dim objDoc As New XmlDocument Dim elem As XmlElement = objDoc.CreateElement("some element") elem.InnerText = " some < " objDoc...more >>

need component for asp page that genereates custom lettering in a jpg
Posted by Scott Emick at 3/4/2004 9:28:24 AM
similar to: http://overtons.com/lettering/lettering.html I was thinking of writing it myself in either vb6 as an activex dll server component, or vb.net - it does seem more feasable to me in vb .net, but it would also be great if this was already done. Any information appreciated. Scott E...more >>

New To Crystal Reports
Posted by Atley at 3/4/2004 9:20:42 AM
How do I add items and components to my Crystal Report at runtime... the report I want to make will be greatly varied based on data gathered throughout the course of the program... There is no way I could pre-deisgn all the variations of layout for this report, the app would be humongous... ...more >>

VB.NET & SQL server - where clause
Posted by amber at 3/4/2004 9:01:09 AM
Hello I am using the MS Data Access Application Block in VB.NET, and I'm having no problems with my queries that call one table with no parameters I can't figure out how to do the following I want to pull data from 1 tables, with a variable as a parameter The code I'm using (that isn't working) ...more >>

XP Theme
Posted by CJ Taylor at 3/4/2004 7:58:13 AM
Been doing a lot of reading on using XP Theme's and the comctl library. Would anyone highly agree that the manifest is the best approach? -CJ ...more >>

Constructor and RaiseEvent for validation
Posted by JanisKB at 3/4/2004 7:11:06 AM
Hello I am switching my courses from VB 6 to VB.Net. I teach my students to place validation inside the class. If data is invalid, then I want to raise an event in the form. This works fine when done from the Set property of a data member. I want to code a parameterized constructor so the user of ...more >>

can I use different references for different configurations
Posted by Atara at 3/4/2004 6:31:55 AM
Is there a way I can use different references for different configurations of my project? I have different project (and solution) configurations. Do I have to 'Add reference' of all the dll's I use to the project, (in all its configurations) even that some configurations does not use this ...more >>

treeview focuse
Posted by Mohammed at 3/4/2004 6:26:08 AM
when I add new nods to the tree and it has Hscroll bar the scroll bar goes down and the focuse goes to the first node shown in the down part of the tree how can I get the scroll bar goes up and get the focuse at the very first node of the tree...more >>

Visca Camera
Posted by mike at 3/4/2004 5:36:07 AM
I posted this question in another forum, but realized I would probably want to port this to .net if it was possible. So, does anyone know how to control a camera using VISCA/RS-232C Commands with VB or VB.Net ...more >>

Array Declaration Syntax
Posted by Jerry Camel at 3/4/2004 4:33:41 AM
VB seems to accept both versions of this declaration... Are they equivalent? Dim Bytes() As Byte = New Byte(Part1.Length + Part2.Length) {} 'Without the braces, vb complains that Byte has no constructor. Dim Bytes(Part1.Length + Part2.Length) As Byte Thanks, Jerry ...more >>

accessing outlook user profiles from VB.net
Posted by Srinivas at 3/4/2004 4:06:06 AM
hi all how to access the outlook user profiles through VB.net any help.... thanks in advanc Srinivas...more >>

Finding a Component's (ComponentModel.Component) Parent Form
Posted by JackRazz at 3/4/2004 1:27:20 AM
I'm working on a .net component (not a control) and need to find out what form the component is contained in during runtime (DesignMode=False). With a control, there is a parent property (and FindForm) to do this with, but no such luck with a component. I was thinking that I might be able to ...more >>

SMTP e-mail from VB.NET
Posted by Toble Rone at 3/4/2004 1:05:36 AM
Can anyone direct me to an article that explain how to send normal smtp emails from a VB.net windows app?. (i mean, using normal tcp to send the mail) Tnx in advance ...more >>

web: ItemChanged event
Posted by galacta NO[at]SPAM gmx.net at 3/4/2004 12:38:14 AM
Hi there I have to create a small new web application. Before I can start, I have to know if the following is possible: I have three text boxes. The first text box has to be entered. I have to fill in a contract number and when I leave the field (leave this textbox), the other two text boxe...more >>

Clicking the mouse from source code
Posted by TheunsP at 3/4/2004 12:36:05 AM
Problem : I want to click the mouse from source code. I move my mouse from source code over another application's display. I now want the mouse to click on the new cursorposition it was moved to (from source code). Any suggestions would be helpful....more >>


DevelopmentNow Blog