all groups > vb.net > september 2005
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
VB 2005
Posted by Nick Pateman at 9/30/2005 10:58:38 PM
Hi there,
This is probably the wrong group so please direct me if it is so. I'm
using the latest build of VS.NET just to build a small application and find
out what its like.
Everything was going fine until i started recieving the following error
in the error list,
option... more >>
Controling detail table
Posted by John at 9/30/2005 10:23:23 PM
Hi
I have dragged a master and a detail table on the form. How can I now make
the master table control the detail table in that proper detail records are
displayed when a master record is selected from the Master BindingNavigator?
Thanks
Regards
... more >>
Trapping AddNew event
Posted by John at 9/30/2005 8:58:46 PM
Hi
Is there a way to tarp the AddNew event on the BindingNavigator to do some
checks before allowing BindingNavigator to add a new record?
Thanks
Regards
... more >>
Question about Access Databases
Posted by Terry Olsen at 9/30/2005 8:39:22 PM
Is Access required to be installed to work with MDB files from a .NET App?
... more >>
Go To Definition in anther project
Posted by ljlevend2 at 9/30/2005 8:26:02 PM
If two projects (say ProjectA and ProjectB) are in the same solution and
ProjectA references ProjectB then VS.NET will navigate you to the line of
text where an object is defined in ProjectB when you click on the Go To
Definition item from the context menu while in ProjectA. But, if ProjectA ... more >>
Convert to VB.NET
Posted by Andrew Clark at 9/30/2005 5:41:46 PM
Hello,
Recently, I converted my VB6 app to VB.NET. I got the standard upgrade
messages and fixed them so now I can run my app. I have noticed, though,
that some of the library functions will not work in .NET, namely:
CreateFile
LockFile
UnlockFile
CloseHandle
declared as
Publi... more >>
Handheld device
Posted by NedMetric Solutions BV at 9/30/2005 5:13:38 PM
Hi,
A customer requested to permanently activate the red Function key on a HHP
Dolphin 9550. This key behaves like a SHIFT key for function keys. They have
to make a lot of key entries:
RED KEY - F1
RED KEY - F2
RED KEY - F3
.... and so on...
It would be very desirable if the RED K... more >>
Workflow products recommend require.
Posted by ABC at 9/30/2005 4:26:36 PM
My client request a workflow solution. They want the solution provide as:
1. Has a workflow diagram interface presents their roles, work and tasks.
2. Support .NET technologies for developers to enhance.
3. Has a workflow design to implement or modify the workflow sheets
4. Workflow Backend e... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Fill Word-template fields
Posted by steven at 9/30/2005 4:03:15 PM
Hello,
I've created a Word-template for a letter. I've made some fields in the
template (such as 'customer number', 'name', ...) as follows: insert
field - DocVariabele with name 'customer number' and 'name'. Now I want
to fill these fields from my application and print them:
Dim myWor... more >>
Dataset update error (record requires parent table record)
Posted by PAUL at 9/30/2005 3:00:12 PM
Hello,
I have 2 datasets I am trying to update. The parent table seems to
update fine but when I go update the chiled table I get an error message
that says I need a related record in the parent table. However I put some
code in to display the key field of each parent table record (pa... more >>
messagebox "red x" corner
Posted by marfi95 NO[at]SPAM yahoo.com at 9/30/2005 2:40:10 PM
Is it possible to not show the close button (red X in upper right
corner) in the titlebar of a messagebox so the user doesn't see it.
... more >>
Restore Window After Duplicate Instance Check
Posted by Glenn at 9/30/2005 2:34:49 PM
I can determine if another instance is running, but how do I get it's
minimized window to restore (in VBNET). Using the standard win32 functions
is not working.
Thanks
... more >>
Rectangles...I must be missing something. (Originally posted in .framework.drawing)
Posted by YYZ at 9/30/2005 2:12:58 PM
Sorry for the multipost, but no one was responding in the other thread.
If any solution is forthcoming, I will return to the original thread
and post it there as well.
I've created a usercontrol and I'm trying to emulate the look of a mac
effect (just for showing some options to my boss) by u... more >>
EXEs
Posted by A. Gaubatz at 9/30/2005 2:07:55 PM
I have noticed that my application runs much smoother in the Visual
Basic Development Environment, than it does using the .exe located in
the project's "bin" folder. Is this the right .exe to be using? Also, if
it is, is there any way to make the .exe work as smoothly as it does
inside the Dev E... more >>
Client and Server - Listen por packets in a specific port trhu UDP
Posted by Marcelo at 9/30/2005 1:40:36 PM
_____
From: Marcelo [mailto:marcelo@telecircuit.com]
Posted At: Friday, September 30, 2005 1:40 PM
Posted To: microsoft.public.dotnet.languages.vb
Conversation:
Subject: Client and Server - Listen por packets in a specific port trhu
UDP
Hi guys;
I need to create a p... more >>
Check if a DLL is registered!
Posted by Lars Netzel at 9/30/2005 1:27:27 PM
I need to check if a DLL is registered and if it is not then register by
doing what you do with a "regsrv32.exe [dll name]" thing?
Can you do this in VB.NET ?
/Lars
... more >>
Conversion of VBA to VB or VB.net
Posted by Murali via DotNetMonster.com at 9/30/2005 1:17:40 PM
Hi There !
i)I have VBA programme written for AutoCAD2000, now i want to use the same
VBA and convert this to VB or VB.net Application, can it be possible?
ii)Can i call the macro's in AutoCAD from VB or VB.net application...
Please give suggestions...
Awaiting for the favourable reply..... more >>
Streamreader - Can I avoid buffering?
Posted by dave at 9/30/2005 1:13:43 PM
Hi.
I am tring to read from random parts of an SDF file using a stream
reader. I know each line in my file is 30 chars long so I know where in
the file I want to go to read a specific record.
The first seek works fine. But due to buffering (from what I've read)
the second seek will not point... more >>
Controlling services
Posted by VBTricks.de.vu Webmaster at 9/30/2005 1:02:53 PM
Hello,
I'm trying to speed up windows start a bit. Therefore I want to start
some services at a later point of time and some only if I run the
application which needs the services.
The first point is no problem, "net start" allows manual start of a
service. The tricky one is the second. Is... more >>
How to insert a record with a stored procecure
Posted by dbuchanan at 9/30/2005 1:01:48 PM
Hello,
My insert results in two records - or better stated the temporary
record (with the temporary ID value of -1) stays as the stored
procedure returns the new record with its data base assigned ID value
Below is shown the ID field and one data field. Notice the last two
records shown.
1... more >>
Windows Authentication
Posted by Dagoberto Aceves at 9/30/2005 12:57:02 PM
Hi all,
I'm trying to make a simple login that will check the username and
password against those in the windows group. I've searched around the
web and found tons of information about doing it from the web, but i get
lost in all of it.
Any help would be greatly appreciated.
Thanks!
... more >>
What is missing in VB express?
Posted by pinplacement NO[at]SPAM gmail.com at 9/30/2005 12:11:50 PM
I don't get what is left out of VB express to be released 5 weeks from
now. Suggested customers are students and hobbyists, so is there some
full featured version that will be released around the same time, and
if so what are the gaps?
... more >>
Speed issues with filling a list view
Posted by Brian Henry at 9/30/2005 12:01:46 PM
I was wondering how you guys would handle filling a list view with something
like 10,000 items which each have 10 sub items on them... there has to be
major speed issues with that right? Yet, applications like outlook and such
can retrieve and display tens of thousands of emails with virtually... more >>
String is a valid directory
Posted by Al Reid at 9/30/2005 11:52:15 AM
What's the most efficient way to determine if an arbitrary string is a path to a valid, existing directory?
Also, how can I convert the string to the same case as the original directory, assuming that the existing directory is mixed case
and the string is lower case?
TIA,
--
Al Reid
... more >>
http request without browser
Posted by ucasesoftware at 9/30/2005 11:30:16 AM
To send a sms via winform app... i need to execute a http... but i
don't want to open IE...
http://mySmsGateways.com/myASPPage.aspx?login=&password=&phoneNumber=&message=
How i can do this ?
... more >>
Winforms usercontrol on a Webpage?
Posted by Cesar Ronchese at 9/30/2005 11:25:27 AM
Hey all.
I need to show a usercontrol (built on Winforms) in a webpage, the same way
I do with OCX or Javascript (Object tag).
How can I do it?
[]s
Cesar
... more >>
Custom Paint & disposing
Posted by Chris at 9/30/2005 10:57:34 AM
I have a form that requires drawing custom lines on it. The color of
the lines is suppose to be the same as the forcolor of the form. Am I
doing this the most efficent and correct way? Thanks....
Protected mPen As Pen
Protected Overrides Sub OnPaint(ByVal e As
System.Windows... more >>
Dynamically execute a Sub, possibly with help of "ScriptControl"
Posted by sjallard NO[at]SPAM gmail.com at 9/30/2005 10:57:29 AM
[The language is VB6, but as it's about implementing dynamic call of
another method from the same module with the ScriptControl object, it
shouldnt matter too much..]
Hi,
I'd like to do something like that (see explanations after the code
snippet) :
Sub mainSub (foo as String)
Dim m... more >>
IsDate problem
Posted by Jack Russell at 9/30/2005 10:30:11 AM
Why does
IsDate("01:01:0_")
return true??
Thanks
Jack Russell... more >>
Microsoft Office Automation
Posted by Raju Joseph at 9/30/2005 8:56:47 AM
Hi All,
We have a module that needs to automate word 2000 for certain added
functionality. I have successfully created the component to do this.
Basically I start word using a statement like
_word = New Word.Application
Then I proceed to sink the word events that I need.
Once everyth... more >>
Automation of MS Word
Posted by jason NO[at]SPAM dive-master.org at 9/30/2005 8:08:30 AM
I all,
I have a VB.Net app that words just fine when automating
MS Word 2003, when Word is part of MS Office Professional
edition (even with SP1 installed). However, if I install the app
onto a machine wunning MS Word 2003 that is part of
MS Office Small Business Edition 2003, it can not loa... more >>
Consuming a DLL with compound DataType
Posted by romy at 9/30/2005 8:00:22 AM
Hi
I'm about to write a DLL that has to recieve and XML document as one of its
parameters.
However , I'm not sure that the consumers of this DLL will work under the
..NET framework, (such as access or vb6) hence they do not
support class XMLDocument.
What are my options ?
thanks
... more >>
treeview
Posted by amruta at 9/30/2005 7:34:02 AM
this is what i have written while builiding the treeview i already have and i
need to go deeper..
'------------------START---------------------------------
'Loop thru Requirement Types
For Each objReq In objBaseline.Requirements
... more >>
convert
Posted by jkhome NO[at]SPAM f2s.com at 9/30/2005 5:47:43 AM
Please would someone beable to convert this c# code into vb
foreach(object[] row in al) {
foreach(object column in row) {
Response.Write(column.ToString() + "<br>");
}
}
... more >>
Delete warning with bindingnavigator
Posted by John at 9/30/2005 4:33:25 AM
Hi
When I press the delete button on the BindingNavigator it deletes the record
without any warning. How can I add a warning dialog when the delete button
on the BindingNavigator is pressed and before the record is actually
deleted?
Thanks
Regards
... more >>
Object in arraylist
Posted by jkhome NO[at]SPAM f2s.com at 9/30/2005 4:04:15 AM
Please can someone help me. I have an arraylist which contains objects
how do i go about reading the data out of the objects in the arraylist,
code example below.. I really have no idea how to do this!!! The code
below just shows me it is a 'system.object[]' when displayed on the
screen but i wa... more >>
Toggle buttons
Posted by John at 9/30/2005 3:58:45 AM
Hi
How can I make some of the buttons on BindingNavigator toggle i.e. when one
button is clicked others unclick automatically?
Thanks
Regards
... more >>
Performance Tuning. Memory
Posted by at 9/29/2005 11:52:09 PM
Hi all,
Recently I created a simple testing problem which have two forms [one
is MainForm, one is MyForm]
inside MainForm there's a button.
Private Sub MenuItem6_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem6.Click
Dim a As MyForm = Ne... more >>
Value of variable in my user control keeps getting reset
Posted by Nathan Sokalski at 9/29/2005 11:19:43 PM
I have a user control that contains three variables which are accessed =
through public properties. They are declared immediately below the "Web =
Form Designer Generated Code" section. Every time an event is fired by =
one of the controls contained in the User Control, these variable are =
rese... more >>
Calendar control for VB.NET
Posted by Denis at 9/29/2005 10:34:16 PM
Hello,
have you ever come across a Calendar control for .NET like the one in the
photo below? If so, please let me know.
http://www.rental-planner.com/mainscreen.jpg
... more >>
What's the best performatic collection?
Posted by Cesar Ronchese at 9/29/2005 10:27:56 PM
Hey guys.
I'm using a DataView to store a lot (amoung 2000 lines) of configuration and
objects and this DataView is indexed by two columns.
That 2000 lines are created in a loop, with the DataView already indexed to
improve search, because I need to check if the record already exists before
... more >>
SelectedIndex is not submitted with post
Posted by Nathan Sokalski at 9/29/2005 6:07:52 PM
I am working on a simple user control composed of 3 DropDownLists that =
will be used to select Dates. The purpose of the control is to all the =
user to choose a date using dropdown lists but not need to worry about =
choosing a non-existing date (due to different months having different =
numb... more >>
Setting a enumerated value as default value
Posted by Cesar Ronchese at 9/29/2005 5:55:50 PM
Hi all.
I need to set a default value to my UserControl, but I'm getting a error
when trying reset the value via PropertyGrid on the host IDE: "Object type
cannot be converted to target type".
The value I'm wanting to set came from a enum value. See the code sample:
<DefaultValue(Naviga... more >>
NullReferenceException
Posted by Xero at 9/29/2005 4:23:02 PM
could anybody describes a scenario where this error will occur?
i have visited the page about the NullReferenceException in msdn library but
i still have no idea what it is about.
thanks.
System.NullReferenceException: Object reference not set to an instance of an
object.
--
Xero
h... more >>
Cut out a region of a bitmap
Posted by VBTricks.de.vu Webmaster at 9/29/2005 4:18:09 PM
Hello,
I have an bitmap in a resources file containing all icons displayed in
the toolbar. To display the icons I need to cut them out of the bitmap
and add them to an imagelist. The problem is the cutting out. I wrote
the following function:
[vb]
Public Shared Function CutOutIcon(ByRef v... more >>
Loading DataSets and App Size
Posted by Paul at 9/29/2005 3:54:32 PM
I have a test application that uses databinding to a table of about
20,000 records. The SQL statement for the databinding is "SELECT *
FROM tbl_CID_XRef". From this I can move forward and backward in the
data, edit, add and delete records. It all works fine. There are two
problems.
The fi... more >>
Logon Error using Crystal Reports in VS.net Web App
Posted by Hugh O at 9/29/2005 3:41:25 PM
Hi,
I have been trying to load a Crystal Report newly created via VS.Net 2003.
I am using a simply ASP form with only the Crystal Report Viewer. The
sample report results display in the WebForm1.aspx, when I have set the
databinding Report Source property set at design time.
I get the fol... more >>
Who Called me?
Posted by Roy Barr at 9/29/2005 2:12:27 PM
Hello,
I need to run my application from another one, and I need to know which
application called me.
Any help is appreciated.
Regards,
Roy
... more >>
Using Application.Run() without a form
Posted by mike2036 at 9/29/2005 1:21:01 PM
Is it possible to put a VB.NET application in a message loop without a form?
From what I've read the method Application.Run() (parameterless) allows for
this...but how do you define the message loop handler that's the equivalent
of WndProc for an application that does not have a form? Unfort... more >>
Need help porting code to VB.NET
Posted by Martin at 9/29/2005 1:08:41 PM
Hi all,
I have some VBScript code that I am trying to port over to VB.NET. I am
receiving an error "Cast from type 'Field' to type 'String' is not valid."
when calling the MapLegacyExchangeDN method. I'm thinking that the parameter
sDirName isn't being properly passed to the function. The same... more >>
|