all groups > vb.net > march 2005 > threads for tuesday march 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
The Newbie's Second XML Question
Posted by eBob.com at 3/1/2005 11:48:28 PM
By omitting the references to the IsWhatEverNull() members, I got the
example (http://www.codeproject.com/dotnet/XMLSettingsFile.asp) to
compile. But when I run it it cannot write the XML file. It gets ...
System.UnauthorizedAccessException: Access to the path "C:\Temp" is
denied.
Why can't... more >>
Basic Question on Faxing and SBS 2003
Posted by Brad at 3/1/2005 10:23:02 PM
Hiya,
I need to write a VB.net app to fax purchase orders out of an ERP database.
We already have SBS 2003 on the server and Win XP client PCs.
What is the best approach to writing this app?
I am not sure what to use given the environment and if it is feasible at
all. I have spent some ... more >>
How to resize a form
Posted by tim at 3/1/2005 7:44:54 PM
VB 6: frame1.width = form1.width - 200
VB .NET: ?
Can someone please help with this simple line of code...thanks..
... more >>
Asynchronous HTTP Download
Posted by VBTricks.de.vu Webmaster at 3/1/2005 7:31:35 PM
Hello everybody,
I need to write a HTTP client capable of downloading files using the
HTTP protocoll. But downloading is one of my problems. I'm new to VB.net
and I know there's a framework offering a solution for almost every
problem. But for me it's a bit complex.
So what I need:
I ne... more >>
How to apply a mouse click via code to a control?
Posted by Gary Kahrau at 3/1/2005 6:45:49 PM
How do I programatically apply a click to a particular row and column
0 of a datagrid?
I want to do this in code as if the user did a mouse click on the
leftmost column.
-----------------------------------------------------------
Gary Kahrau
kahrau@monair.com
------------------... more >>
Problem using shell cmd to start MS Access app
Posted by moondaddy at 3/1/2005 5:41:01 PM
I need to start an ms access 2003 app from a vb.net winforms app and didn't
want to load all the interop stuff for office into the .net project. I
thought that using the shell cmd would be a nice clean way to get it
started. However, when I call the shell cmd, I get a "File Not Found"
erro... more >>
I need to set a limit on my application working...
Posted by Scott at 3/1/2005 5:35:34 PM
I need to set a limit on my application working... I want the =
application not to work as from 31/03/05 and I need to know how to code =
this. Surely there must be a simple code to check the date at start-up =
of the app??
How do I do this???
Scott... more >>
Number of days between 2 dates...
Posted by Scott at 3/1/2005 5:34:10 PM
I want to work out the difference (number of days) between 2 dates selected
using the date picker in vb.net and displaying this in textbox1 (which will
be un-editable to the user)
An MVP game me the following code, which looks acceptable to me in practice,
but appears to always through up 0... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Group Box text problem
Posted by RitaK at 3/1/2005 5:11:05 PM
Hi,
I placed a Group Box into another Gropu Box on a Windows form and the text
in the second Group Box is displayed in a much larger font when using XP
Themes. Works ok in standard Windows.
Any explanations for this or is it a 'bug'.
Thanks,
RitaK
... more >>
Value different during debug mode
Posted by Bob Day at 3/1/2005 5:07:14 PM
Consider the two code snippets below.
a) During development, if you hold your cursor over AKA.SomeDateTime in
Snippet 2, it will indicate a value of #1/1/1950# as expected.
b) If you run the code in debug mode (i.e. F5), and at the stop, hold
your cursor over AKA.SomeDateTime in S... more >>
Checking a string for valid date
Posted by Bob Day at 3/1/2005 4:13:27 PM
The IsDate code below should result in False, instead it throws the
exception below. Why? How do I check if a string can be converted to a
date if this function does not work properly?
Bob
code:
Dim blnDate_Valid As Boolean = True
Dim x As String = "Hello"
blnDate_Valid = IsDate(x)
... more >>
XML file as a string into a Dataset.
Posted by Paul Bromley at 3/1/2005 4:01:20 PM
I suspect the anwer to this is going to be obvious, but can someone give me
a clue here as I am presently doing this in a roundabout way. I am using an
API that gives me an XML file as a string. I am presently using Streamwriter
to write an XML file to disk and then reading the XML file into a Da... more >>
How to insert the image into the richtextbox control and catch the mouse click event of that image.
Posted by Sakharam Phapale at 3/1/2005 3:36:14 PM
Hi All,
How to insert the image into the richtextbox control and catch the mouse
click event of that image.
Thanks in advance,
Sakharam Phapale
... more >>
Graphics: Get Dimensions of a frame in a multi frame tiff
Posted by Shane Story at 3/1/2005 2:27:11 PM
I can seem to get the dimensions of a frame in a multiframe tiff.
After selecting activeframe, the Width/Height is still really much larger
than the page's actual dimensions.
When I split a TIFF to several PNG files this causes a problem, becuase the
resulting image is (the page to the far... more >>
VB HELP: Sharing A Variable From Win Application To Dynamically Added Control
Posted by Daniel Friend at 3/1/2005 2:02:37 PM
I have an application and use custom user controls as plugins. Is there any
way to communicate back and forth from control to app. NOTE: The control is
not refrenced in the app, it will act as a plugin and will be dynamically
loaded to the app.
Example:
1. My application as a public varia... more >>
VB.NET - Passing the login screen
Posted by martin.lanny NO[at]SPAM gmail.com at 3/1/2005 1:41:32 PM
I need to grab a html source code from the second page after I hit this
login screen with inserted variables:
example:
https://www.mypage.com/login.php?username=joe&password=joepsw
will lead to:
https://www.mypage.com/hello.php (this is the page I need a source
code from)
, it cannot b... more >>
AxWebBrowser refresh/reload not working!
Posted by jarosciak NO[at]SPAM gmail-dot-com.no-spam.invalid at 3/1/2005 1:39:45 PM
Hey Everyone,
I really hope there is someone who can figure out this problem.
Honestly, I spent 3 days now trying to find the solution, but nothing
works.
I'll try to explain the problem shortly, so I don't take too much of
your time.
Problem:
On the form I have AxWebBrowser box, and I ... more >>
Windows App Deployment
Posted by Michelle at 3/1/2005 12:07:44 PM
Hello! I just have a quick question, if I may. I was wondering what
benefits, if any, one of these deployment methods has over the other.
These are for in-house .NET windows applications that are currently
only used at our Head Office (but may be expanded in the future)
Method #1:
Using a... more >>
CDO.Message
Posted by Eduard at 3/1/2005 12:03:13 PM
When sending mail I get the classic 'Cannot access CDO.Message object'
exception. I remember I solved this problem once before, but cannot remember
how :-)
I'm sending mail using an existing from address, an existing to address, and
SmtpMail.SmtpServer DOES exist. strange strange strange...... more >>
galaxy quest
Posted by rodchar at 3/1/2005 11:59:02 AM
hey all,
in the overall scheme of the planet earth, why does there have to be a
MinOccurs property of an element in the dataset designer?
What is this used for in general lamen's terms.
thanks,
rodchar... more >>
date question
Posted by rodchar at 3/1/2005 11:05:08 AM
hey all,
i was wondering, you know how you can say fieldDate.Month or fieldDate.Day
in vb.net to pick apart the individual date components. If the month is
between 1 and 9 to append a zero in front of that month (i.e. 01, 02, 03)
without going thru heavy string manipulation?
is there som... more >>
another vb6 to vb.net question
Posted by Starbuck at 3/1/2005 10:47:33 AM
Hi
Simply because the challenge is there I am trying to convert my vb6 code to
vb.net. In the most part I have found ways but here is one I am stuck on, so
any thoughts would be welcome.
Public Function NewJobSerial() As Long
NewJobSerial = CType((Format$(Int(Rnd() * 424) - 212)) + Form... more >>
Getting error Null Reference exception when a procedure is called
Posted by ankur seth via DotNetMonster.com at 3/1/2005 10:15:42 AM
Getting error Null Reference exception when a procedure is called in vb.net
..Why does it occur and how to resolve it.
---
ANkur
--
Message posted via http://www.dotnetmonster.com... more >>
BinaryWriter Write adds Carrots
Posted by Travis Llewellyn
I am writing a program that write out and array that I have stored. It
writes out the whole array but adds a Carrot "^" in front of each
section it writes.
If I do a debug.writeline(hello) it shows the line perfect in the
immediate windows without the carrot.
Any help would be appreciate... more >>
Any Method to Raise a Validating Event to other control?
Posted by norton at 3/1/2005 10:06:05 AM
Hi All,
I am writing a simple win form which contains a button, when user click the
button i want to validate all the other textbox and see if there is anything
goes wrong
may i know how can i trigger the validating event for all text box?
thx and regard,s
Norton
... more >>
restarting remote SQL server
Posted by ECathell at 3/1/2005 10:05:40 AM
Below is my code the stop works fine, but then my session is ended. And =
the rest of the code wont run. I was thinking of making it two different =
subs, but from the examples in the samples folder I shouln't have to.
Dim srv1 As SQLServer
srv1 =3D New SQLDMO.SQLServer
... more >>
What is the replacement for BEEP() in VS ?
Posted by Peter Stojkovic at 3/1/2005 10:02:05 AM
I am now using Beep to make a short warning-sound in my VB-Project
What is the aeqivalent command in VS.70, if i dont want use Visual Basic
Run-Time Library Members
Thanks Peter
... more >>
IDE question (for a VB6 convert)
Posted by Scott M. Lyon at 3/1/2005 9:59:13 AM
I'm a former VB6 programmer, working now with VB.NET 2003. I decided it's
time for me to start getting used to the Visual Studio .NET key shortcuts
(instead of the VB6 ones, which yes, I know I can still use via the
profile).
Unfortunately, I've been unable to find the hotkey for one thin... more >>
Port pocketpc application to desktop
Posted by smaggi NO[at]SPAM onewriteco-dot-com.no-spam.invalid at 3/1/2005 9:41:05 AM
I need to port a pocketpc application to the desktop. What is the best
way to do this?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
--------------------------------... more >>
Question about saving a TIFF
Posted by Shane Story at 3/1/2005 8:37:42 AM
Our current software is VB6. We have Lead tools version 12 I think for
dealing with images.
We have some pieces of our software now in .NET. One piece receives faxes
as multipage TIFF's, and needs to split those into standard TIFF's--one file
per page. We have tried this with varying option... more >>
Smart Client and offline Id number
Posted by Ahmed at 3/1/2005 8:09:29 AM
Hello All,
I am programming a smart client application that should, of course,
work offline with most of the functionalities while online. The program
will have a local database that will keep the data till the portable
computer gets online and sync with the main database.
The issue I am ha... more >>
printer path
Posted by Irfan Mumtaz at 3/1/2005 7:17:04 AM
My program is aught to print automatically an excel sheet after all the data
is collected into it. At the moment i have hard coded the printer path (
which obviously is not an appropriate way) and i need to change the path
whenever there are changes in the printer or network settings.
What ... more >>
anchoring, docking and screen resolution
Posted by Ahmed at 3/1/2005 7:14:05 AM
Hello everyone,
I am designing an application to work with two screen resolutions,
1024x 768 and 800x600. If the user is using a higher resolution the
form should have the same size as 1024x768 screen
I started building the application in 1024x 768 form size but
everything got screwed up wh... more >>
get the version numbers of assemblies
Posted by Geraldine Hobley at 3/1/2005 7:09:09 AM
Hello,
I would like to know how I can get all the version numbers of each
assembly in the a solution programmatically and display them in a form.
Any help would be greatfully recieved.
Geri ... more >>
Adding ColumnStyles to DataGrid
Posted by Nathan at 3/1/2005 6:36:06 AM
Hi,
I'm trying to add column styles to a datagrid--first time I've done this in
code. I have a datagrid and have added a new table style to it in the
designer. I've set the tablestyle's mapping name to the name of my dataset
table. Then this is my code for adding columns:
With dgdInve... more >>
project wide settings
Posted by Irfan Mumtaz at 3/1/2005 6:09:04 AM
Is it possible in project settings to set vb.net in such a way so that it
considers only upto 3 decimal places when comparing any two values.
My problem is:
i get varA = -0.0000000000018189894035458565. It actaully should be zero.
So when i compare varA = 0 , it returns false (obviously)
... more >>
Case-insensitive comparision of strings
Posted by kd at 3/1/2005 12:53:02 AM
Hi All,
How to perform case-insensitive comparision of strings?
Would there be some kind of an indicator, which when set to true, would
allow case-insenitive comparision of strings using if/select case, etc; after
performing the case-insenisitive compare, the indicator can be reset to allo... more >>
Word document viewing in RichTextBox control
Posted by sss024 at 3/1/2005 12:38:44 AM
Word document viewing in RichTextBox control
... more >>
Serial Comm Problem
Posted by Michael Chong at 3/1/2005 12:10:57 AM
I wrote a program that communicate with SerialComm. In every 300
milliseconds, my program continuously send & receive data via the serial
port once the program starts.
My program is once in a while, the serial port seems corrupted because when
my data is sent, it doesn't go through the serial ... more >>
|