all groups > vb.net > june 2006 > threads for monday june 19
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
Two Structures, Same Data
Posted by Dennis Woos at 6/19/2006 10:39:53 PM
I am trying to get two structures to map the same data, like a union.
Having failed to get the FieldOffset attribute to work at runtime, I tried:
----------------------------------------------------------------
Option Strict On
Imports System
Imports System.Runtime.InteropServices
<St... more >>
Calling .Net DLL functions in Excel 2003
Posted by Grumpy Aero Guy at 6/19/2006 10:25:15 PM
Is it possible to call functions wrapped in a DLL created via VS 2003
(Academic) from within an Excel 2003 Module via VBA (Declare Statement in
Excel VBA)?
I know this works with DLLs wrapped with VB6.0P.
I have looked on MSDN, but have no clue where to start searching.
--
Grumpy Aero G... more >>
Help me, please view the strange problem!!!
Posted by yxq at 6/19/2006 7:51:13 PM
Hello,
My system is Windows XP + SP2, please try the code below,
the code will copy all file to another directory.
Please create a new directory(C:\{91A9BEC9-ED3C-4382-8615-BC0B466D2936}),
copy some files into directory.
////////////////////////////////////////////////////
Invoke the func... more >>
How to update application settings in vb.net code
Posted by Bob at 6/19/2006 6:23:32 PM
The my.settings name space is easy to use to modify User settings from
within code, but the application settings can't seem to be modified that
easily.
I want the user to be able to modify some of the application setting ( like
my connection strings) through a friendly user interface on one o... more >>
Easiest way to get the equivalent of vb6 app.path in vs2005 Vb.net
Posted by Bob at 6/19/2006 6:11:30 PM
Been looking for that trick for a long time I need the path in which the
executable is running but not including the exe filename.
I'm looking under my.application but nothing there as far as I can see
Any help appreciated.
Bob
... more >>
how to launch media player and a selected file from within VB.Net app?
Posted by Bob at 6/19/2006 6:08:48 PM
I have a media file Myfile.wme that I want to play within the Windows
default media player on a button or menu click event in my app. The file is
in a folder relative to my bin folder. I can defeine the full path of the
file then using that I want to launch the media player to use that file.
... more >>
Mouse/Screen Image Status
Posted by Daniel N at 6/19/2006 6:00:11 PM
Is it possible to determine if the image under a mouse changes in VB.net
code? For example if I position the mouse using the command;
Windows.Forms.Cursor.Position = New System.Drawing.Point(680, 595)
Is there code that would help me determine if the image under it has
changed?
... more >>
making a string var like "nr1 nr2 nr3"
Posted by andreas at 6/19/2006 4:15:42 PM
F.e. I want to make a stringvariable str = "nr1 nr2 nr3" that it should
display like "nr1 nr2 nr3"
str = """ & str & """ do not work.
Thanks for any response
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
asp.net template for user registration
Posted by Ryan at 6/19/2006 3:41:21 PM
I am going to create an asp site that allows the users to fill out
application information. Their personal information will be stored server
side in a SQL 2005 database and they can come back to the site later and
repopulate the fields with their information by using a login (email
address/... more >>
retrieve key from collection
Posted by Albert at 6/19/2006 2:53:26 PM
Hello,
can anyone tell me how i retrieve the key(which i included by adding
elements) from an item in the collection?
Thanks,
Albert
... more >>
breaking information out of a string
Posted by Smokey Grindle at 6/19/2006 2:51:34 PM
I want to make custom tags that will go into a string like the following
"Follow this link [link url="me.aspx"]Link Title Text[/link]"
this is an example of course... but how would you go about creating a custom
tag system like this? I want to be able to take that and convert it into its
H... more >>
windows Registry
Posted by Brahm at 6/19/2006 2:50:33 PM
hey guys,
could you give me a good example for registy handling ?
Thanks,
BRAHM
... more >>
How do I make my computer unstupid?
Posted by JAM at 6/19/2006 2:48:02 PM
I tell my computer a math problem (19.98-20.00) and it gives me a wako answer
(0.01999999999999996) what is wrong with it?... more >>
parameter "any" VB 6 (what is your equivalent in vb 2005 ?)
Posted by Brahm at 6/19/2006 2:40:30 PM
hi folks !
What is the equivalent parameter in vb 2005 for "any" from vb 6 ?
Thanks,
Daniel
... more >>
Locking a Combo-Box
Posted by Ryan at 6/19/2006 2:37:51 PM
I need to lock a combo-box on my form. I want to allow the user to use the
drop down list but I don't want them to be able to type their own text in
the combo-box. I've tried the "locked" and "enabled" properties and neither
of these seem to do the trick. "locked" doesn't do much and if I s... more >>
VS 2003 to VS2005 upgrade
Posted by BK at 6/19/2006 1:56:28 PM
I am converting a rather large solution from VS 2003 to VS 2005. As I
understand it, the bulk of the conversion is really just changing the
project and solution files to the new format.
It completed ok, but I have a lot of errors and warnings, 17 errors and
260 warnings. The errors seem to a... more >>
Concurrency question
Posted by Bob at 6/19/2006 1:33:00 PM
While testing my my program I came up with a consistency exception. My
program consists of three datagridviews, One called dgvPostes which is the
parent grid and its two children,one called dgvPlans and the other dgvTanks.
What happens is as follows. I will either create or edit a record in the... more >>
Viewing Data in a DataSet during debug
Posted by Ryan at 6/19/2006 1:27:30 PM
Is there any way to view what data is populating my DataSet tables during
debugging?
Thanks,
Ryan
... more >>
how do i compare two string and get the difference?
Posted by dotnetnoob at 6/19/2006 1:03:01 PM
i have two strings from xml file
str1 = 800.7415_801.101_8.115_216.12
str2 = 800.7415_801.101_8.115_216.12_217.570
the first stream represent a xml file 800.7415_801.101_8.115_261.12.xml
which hold some value that can only be look up after i compare both string
so i can find where to loo... more >>
Datagrids
Posted by mfleet1973 NO[at]SPAM yahoo.ca at 6/19/2006 12:55:35 PM
Hello. I'm fairly new to VB.Net (2003). I'm using a datagrid to
display data (access db) and when user double clicks on a record,
another form shows up which allows modification/addition of data. The
problem is when user accepts the changes made and gets back to
datagrid. The information dis... more >>
"Array" of pictureboxes
Posted by Jerry Spence1 at 6/19/2006 12:44:42 PM
I'm going mad here. I know about creating controls at runtime and creating a
single event etc. In all the examples I have found they create a button and
create an event for it. What I can't fathom out is how to refer to a
non-event control such as a picturebox. I have created them as follows:
... more >>
find trap address
Posted by nt8jbwu02 NO[at]SPAM sneakemail.com at 6/19/2006 12:38:49 PM
I have a vb.net program which runs fine on my development system but
which traps on my test
machine.
How can I use the address in the error report to find the code which
caused the error?
Thanks.
... more >>
Counting rows in an SQL table
Posted by Art at 6/19/2006 12:07:01 PM
Hi,
I'm trying to count rows in each of the tables in an SQL DB. I tried the
following ExecuteScalar command:
"Select Count(*) from " & mTableName
The problem is that one of the tables is huge and I'm getting a time out.
I thought I could do this with a stored procedure using the Tabl... more >>
Integrating vb.net (2003) with MS Office.
Posted by george hardy at 6/19/2006 11:59:21 AM
Hi folks, I would like to ask you guys(and gals) if there is a nice
document showing how to control Word from a vb.net 2003 application.
I would like to simply open a word document (or template), fill in some
fields from vb, save it and close it.
pretty simple, im sure, I just dont kn... more >>
Security Exception when deploying a VB.NET 2003 solution.
Posted by John Kotuby at 6/19/2006 11:47:49 AM
Hello all,
Note: This is the full version of a Post that I inadvertently sent before it
was complete.
About a year ago I wrote a VB.NET 2003 solution that consists of a number
of assemblies (1 EXE and 15 DLLS). As I recall, in order to deploy the
solution to a testing server I simply copi... more >>
Importing Text File With Diacritical Marks
Posted by BostonNole at 6/19/2006 11:15:00 AM
Refer to MS article Q98999 for an explanation of Diacritical Marks.
When a line from a flat text file is imported from a file using the
StreamReader, any character that has a Diacritical Mark is dropped.
Sample Code:
Dim fs As FileStream
Dim sr As StreamReader
Try... more >>
Oracle read only transaction in VB .NET?
Posted by ashley.ward NO[at]SPAM gmail.com at 6/19/2006 10:07:16 AM
I am attempting to write a program with VB 2005 Express Edition which
accesses an Oracle 9 database and dumps the results of three SELECT
queries into a spreadsheet file once every hour.
Modifications will be being made to the database whilst this program is
running. I would like the three qu... more >>
VB. NET, Question?
Posted by robdken at 6/19/2006 8:41:44 AM
I'm new to VB .NET and am just trying to get to grips with the
capability of the software. I am trying to create a program that is
able to import 3 different .csv files at a time, manipulate them in a
way similar to Excel, and then save them. What is the easiest way to go
about it? I was thinkin... more >>
Date Of Year
Posted by Elioth at 6/19/2006 8:19:02 AM
Hi,
I need to know how I can convert a Julian Date of Year to Date.
Example:
VB has the funcion DayOfYear and it return a 170 if the date is June 19, 2006
I want enter a Day of year (170) and convert it to a Date (June 19, 2006)
Thanks
Elioth Collazo... more >>
Change System's List Seperator?
Posted by Joerg Battermann at 6/19/2006 5:02:19 AM
Hello there,
does anyone know whether it is possible to change Window's "List
Seperator" (Start -> Control Panel -> Regional and Language Options ->
Customize -> List Seperator) value programmatically via .net?
All the best & thanks,
-Joerg
... more >>
Compress a string
Posted by Hugh Janus at 6/19/2006 4:22:09 AM
Hi all,
I have several *long* strings (see bottom of post for an example) which
I will be sending across a network. Therefore, I want to compress them
for speed and because later they will be stored in a DB.
I found this code here http://abstractvb.com/code.asp?A=931 but it
doesn't seem to g... more >>
Form Screen Resolution
Posted by Dewang Ajmera at 6/19/2006 2:09:12 AM
Hi,
I am having the problem to set the resolution of the form as per the
screen resolution changes from 1024 to 800
so if anyone knows how to do this please let me know through mail.
my email is : dew_soft_engg@hotmail.com
*** Sent via Developersdex http://www.developersdex.com ***... more >>
Adding reference errors...
Posted by Michael at 6/19/2006 2:06:02 AM
I'm going to study OpenGL, but I'm not having the best of luck starting off...
I use Windows 2000, so I already have the OpenGL32.dll, but when I try to
add it as a reference I get an error saying to determine if it's a valid COM
file, etc... Anyone have an idea about why this happens? Also... more >>
My form has a hiccup
Posted by melton9 NO[at]SPAM hotmail.com at 6/19/2006 1:54:06 AM
I have a form that updates once a second. When it updates there is no
other processing going on. It generally works fine, but a few times a
min sometimes less, sometimes more it will hiccup and stall a little.
This is something I would like to smooth out.
What I have is a few different subs ... more >>
Help needed, Removing duplicate lines in text file
Posted by Backwards at 6/19/2006 1:38:27 AM
Hello all,
I'll start by explaining what my app does so not to confuss you when i
ask my question. =E2=98=BA
I have a VB.Net 2.0 app that starts a process (process.start ...) and
passes a prameter through from a combo box. The combo box items are
made up of IP address and computer host name... more >>
How do I get COMPLETE response from HttpWebResponse using StreamReader???
Posted by Hexman at 6/19/2006 12:11:19 AM
Code below ----
I've asked a similar question on this forum earlier. This is a slightly different situation.
Previous Question ----
I'm trying to save some specific web pages to disk as text files. I searched the Internet and found a basic example which I changed to fit my needs.
I teste... more >>
Datetime picker
Posted by Jon Vaughan at 6/19/2006 12:00:00 AM
Hi,
I was looking for a control that you enter time values into , I started off
with a textbox, but then saw the datetime picker had a custom format for
Time , so I entered HH:mm. The conctrol does show time in the box , but in
HH:mm:ss, I would like to drop the ss, also I dont want the use... more >>
|