all groups > vb.net > september 2007 > threads for september 8 - 14, 2007
Filter by week: 1 2 3 4 5
DataType Enum?
Posted by Johnny J. at 9/14/2007 5:59:20 PM
Does anybody know if VS 2005 contains an enum of the datatypes available in
an SQL Server database?
Cheers
Johnny J.
... more >>
Auto Enable Refresh
Posted by Dingo at 9/14/2007 1:04:46 PM
I have a spreadsheet that imports data from the net. Currently, user
must click Enable Auto Refresh. What VBA scripting can I use so that
the spreadsheet is refreshed automatically without a need to click
this box? I am stumped.
... more >>
How to make Thread1 executed before Thread2 ?
Posted by fniles at 9/14/2007 12:07:45 PM
I am using VB.NET 2005. My program receives messages, and for every message
I create a thread.
Say I received Message 1, spawn the thread, then receive Message 2, spawn
the thread.
Even though I spawn the Message1 thread before Message2 thread, sometimes
Message 2 thread is executed before M... more >>
Listview angst
Posted by Duke Carey at 9/14/2007 10:38:00 AM
My form has a listview control, set to show detail view. It has 2 columns:
workbooks and worksheets
I run the following code, trying to get each Excel workbook name as a main
item and each worksheet as a new subordinate item. Some open workbooks have
1 worksheet, but one has 11 worksheets... more >>
Public variable not the same as using a property?
Posted by dgk at 9/14/2007 9:19:42 AM
If I have a class with a public variable, isn't this the same as a
private variable with a property? ie, isn't this:
Public Class MyTest
Public MyVar as String
End Class
the same as this:
Public Class MyTest
Private _MyVar as String
Property MyVar
Get
Return _MyVar
End Get... more >>
Unhandled Exception Handler
Posted by zacks NO[at]SPAM construction-imaging.com at 9/14/2007 8:08:23 AM
We have an application in use at several dozen of our customers. At
one customer site, it behaves strangely. The same application runs
three times with three different config files passed to it on the
command line. I have a BAT file that runs the application thussly. I
then have the BAT file sch... more >>
ByVal object parameters not modified over Remoting
Posted by JB at 9/14/2007 5:43:57 AM
Hi All,
I've discovered a strange behaviour with Object parameters passed
ByVal via remoting and I'm wondering if anybody could shed some light
on this.
In a non remoting function call, when a object (as opposed to a value
type like Integer, Boolean, etc) is passed as a ByVal parameter, it'... more >>
Windows Service problems
Posted by Anil Gupte at 9/14/2007 12:00:00 AM
I am having a problem getting a service to stay on and I cannot debug it. I
installed it on a computer using installutil.exe In the Services list, it
appears just fine, and I can hit start. However, I get a message saying
"The MediaEncoder Service on Local Computer started and then stopped.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
System.int32[*] to System.int32[] explicit cast problems
Posted by northerntechie at 9/13/2007 8:55:18 PM
Ok, I don't normally post (I would rather rummage around in the
thoughts and frustrations of others) but this one has got me stumped.
I am using MS VB 2005 Express and I am using a COM object reference
that will not allow me to read back an array of System.int32 through a
byref parameter.
I... more >>
OT: Terminology
Posted by Rory Becker at 9/13/2007 8:45:41 PM
Sorry for the (slightly) off topic post but I know this is where all the
clever people hang out :)
What's the collective term for Variables, Constants, Parameters etc... ie
anything which has a value even if, like the constant, the value cannot be
altered.
So I would exclude methods from... more >>
Vb 2003 Framework 1.1
Posted by cmdolcet69 at 9/13/2007 6:44:30 PM
Public Value As Integer = 4096
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
Dim bytes As Byte() = BitConverter.GetBytes(Value)
End Sub
This code will create a aan array of 4 bytes {lenght=4}
(0) = 0
(1) =16
... more >>
Question about arrays
Posted by QDL at 9/13/2007 6:20:15 PM
Hello everyone,
I have a very simple question about arrays I have an array of Processes
objects (retrieved using Process.GetProcesses()). I want to sort them
descending on the WorkingSet size.
Is this code correct?
Dim temp as Process
Dim mProcessi() as Process
Dim i... more >>
Thread and dll and FileSystemWatcher
Posted by Nicolas at 9/13/2007 5:28:04 PM
Doesn't run properly.
I made one dll which monitor file and send back an event for status on
changes. I use the IO.FileSystemWatcher
From the window form I want to check 5 txt file in particular
(fi_1.txt,fi_2.txt,fi_3.txt,fi_4.txt,fi_5.txt) of course not residing on the
same directory or com... more >>
String to Hex
Posted by Jerry Spence1 at 9/13/2007 3:04:23 PM
I have the string "15" which I need represented as a hex number - ie &H15
Simple I would have thought but I can't find the answer.
-Jerry
... more >>
finding the wrong argument
Posted by Rudy at 9/13/2007 2:56:25 PM
I have a method which has a large numbers of arguments (of integers) say
30. When one of the arguments are wrong (null or the argument is not an
integer), vb.net (2005) reports that there is an error. The problem is that
in debug mode vb.net does not say which argument is wrong, it only gives... more >>
Resuming from an error
Posted by Jerry West at 9/13/2007 2:25:36 PM
In VB6 one could use 'Resume Next' to have program execution resume at the
statement following where an error occurred. Is there something comparable
in VB .NET?
Try
i = 0 / 0
DoEvenMore
Catch ex As Exception
End Try
If the eval of i creates an error how do I have t... more >>
Format$ question
Posted by phhonl at 9/13/2007 12:25:50 PM
Dim x As String
x = Format$("50", "00000000")
in vb6 x returns "00000050"
in vb.net 2005 x returns "0000000"
How do I get the vb6 result in vb.net 2005?
... more >>
Process files in directory and all subdirectories
Posted by Alex at 9/13/2007 11:52:36 AM
Hello,
I'm creating a program to parse a directory and all files within that
directory (including subdirectories), but 'directoryinfo' only parses the
current directory. Is it possible to have it process all files within
subdirectories as well?
Thanks --
Alex
... more >>
VS Frustration
Posted by Lloyd Sheen at 9/13/2007 9:52:48 AM
Why oh why can I not edit and continue???
VS 2005 Pro.
Multi project solution.
All solutions set to debug. But I cannot edit the source when debugging.
Any ideas??
Thanks
Lloyd Sheen... more >>
Sniff IP address
Posted by Husam at 9/13/2007 9:08:00 AM
Hi EveryBody:
Is there some one can Tell me how can I sniff the IP address for any remote
computer ?
any help or redirection for any artical will be appecated
regard's
husam... more >>
Get parameters in Console App
Posted by Alex at 9/13/2007 8:10:47 AM
Hello,
I'm wroting a console utility in VB 2005, and I need the ability to pass
parameters to the application when the program runs. For example, if my
program is called testing.exe, I need to be able to run this:
c:\testing.exe c:\test
....and have 'c:\test' passed to the program as a... more >>
Help with forms class.
Posted by at 9/13/2007 7:16:21 AM
I have a VB application with one main form. I also have a second form
that has the ShowInTaskbar property set to False.
If i click another application in the taskbar (for example:- Outlook)
then that application now has focus and covers up my application. If
I then click my application withi... more >>
making charts in VB.NET
Posted by chaelon NO[at]SPAM gmail.com at 9/13/2007 5:13:10 AM
I'm trying to gather info on whether VB.NET would be right for my
application needs. I need to create basic charts, such as line
charts, bar charts, pie charts, etc., with maybe regression lines
included too, but really nothing heavy. But I do want the charts to
look very good.
Are there an... more >>
Searching for words in textfiles
Posted by Raf at 9/13/2007 4:42:00 AM
Hello,
I have to write an application that scans textfiles for certain words. I'm
talking about approximately 5000 words. The only way I can think of to do
this is to scan each textfile for each word. This takes a lot of time and a
lot of capacity of my pc. Is there another way to do this t... more >>
How to make Setup file
Posted by nizargermany NO[at]SPAM hotmail.de at 9/13/2007 3:19:19 AM
Hello, i would like to create a setup file for my VB.net application.
my application contain a DataSocket from National Instrument. so I
must install the NI Software befor using the DataSocket.
what should i do to install all required Software and also my
application in one Setup file (with VS... more >>
Various newbie questions
Posted by cmpython NO[at]SPAM gmail.com at 9/13/2007 1:08:58 AM
Hi, I know nothing about VB.NET and was considering whether to try to
write some application in it. I have some limited programming
experience, but with Python. I was hoping this forum might help me to
decide if this is worth pursuing/possible. I hope I've posted to the
appropriate group.
... more >>
Default path for Windows Service
Posted by Anil Gupte at 9/13/2007 12:00:00 AM
I wrote my Windows Service first as a regular Windows Exe because it is
easier to debug. In that I used
AppDir = Application.ExecutablePath.Substring(0,
Application.ExecutablePath.LastIndexOf("\")) ' Where this application
Excutable sits
Now, when I am converting it to a Service, what p... more >>
Catch primary key violation exception in Visual Basic 2003
Posted by Hetal at 9/12/2007 9:24:44 PM
I searched online and went through the forums as well, but i could not
find a way to capture the database primary key violation exception.
Any help will be much appreciated.
Thanks,
Hetal
... more >>
ListBox vs GridBox
Posted by at 9/12/2007 7:24:46 PM
Is there a way to make a GridBox behave like the list box of old?
I am populating the Gridbox with results from a database query, so I
need multiple columns. The listbox in VB.net doesn't seem to do
this. I want to be able to select a row, and use a value from that
row to open another form, ... more >>
Variable isn't decalred error --but it is!
Posted by Jerry West at 9/12/2007 2:48:21 PM
I have a 'variable not declared' error occurring when in fact the var is
declared --its just nested in a If Then statement. Like so:
If bPortrait Then
'then its in portrait mode
' Make a bitmap for the result.
Dim bm_dest As New... more >>
Exploring entire network
Posted by Finn Stampe Mikkelsen at 9/12/2007 2:44:54 PM
Hi
Is there any intelligent way to similate windows function to show a map of
the entire network visible to an application??
My job is this...:
Picture a LAN/WLAN with 5 computers connected through a router. I need to
run an application which as its first task needs to map out which oth... more >>
Updating PictureBox image every x seconds --how?
Posted by Jerry West at 9/12/2007 2:10:37 PM
I have a routine that updates a PictureBox image every x seconds. I do this
by first loading an array with the path to all of the images. I then
generate a random number to use as the index of the array. A timer is set to
update the PictureBox. This works great the first time through but fails... more >>
Problem with HttpPostedFile
Posted by mcarrera00 NO[at]SPAM gmail.com at 9/12/2007 12:46:59 PM
Hi,
I have a problem with uploading files to a webserver.
Here it's the code
Dim strPath As String = MapPath(fileName).ToLower
strPath = strPath.Replace("\usercntrls", "\uploads")
fileUpload.PostedFile.SaveAs(strPath)
usercntrls is where the control resides on... more >>
Calculating the checksum of a file in Visual Basic 2005
Posted by Alex at 9/12/2007 11:58:36 AM
Hi,
Is there anyway to calculate a checksum (MD5, CRC32, etc) of files using
VB2005? What we need is a simple program that can go through a directory
and store the path and file name, checksum, and date.
Thanks ---
Alex
... more >>
How to combine 2 lists of textboxes
Posted by weg22 NO[at]SPAM drexel.edu at 9/12/2007 11:44:01 AM
Hi all,
I have two lists of textboxes:
'Create list of all textboxes on error log data tab
el_textboxes = New List(Of Windows.Forms.TextBox)(New
Windows.Forms.TextBox() {addr_x100, addr_x101, _
addr_x102, addr_x103, addr_x104, addr_x105, addr_x106,
addr_x107, addr_x108, addr_x109, ... more >>
keep grid lines of excel wks after setting Interior.ColorIndex
Posted by vbDavidC at 9/12/2007 11:12:23 AM
I found out how to change the color of cell(s) however when I change
the color I lose the grid line(s) around cell(s).
... more >>
Streams and LineInput
Posted by AlBruAn at 9/12/2007 10:52:03 AM
I have a stream of XML that I need to read one line at a time. Rather than
writing it out to disk and then reading it back in with LineInput, I was
wondering if there's a similar way of doing this with a stream.... more >>
C# to vb.net
Posted by Arne at 9/12/2007 10:46:02 AM
I need to translate the line below to vb.net
SendMessage(this.Handle, (uint)WM_HSCROLL, (System.UIntPtr)param,
(System.IntPtr)0);
Now do I do the third parameter?
--
Arne Garvander
Certified Geek
Professional Data Dude... more >>
Extract Icon from executables
Posted by masterx80 NO[at]SPAM hotmail.com at 9/12/2007 10:23:12 AM
Hello,
Can anyone provide me some code snippets, or a class that would allow me to
extract icons from an executable file?
thank you
Learner.
... more >>
Arguement Exception??
Posted by si_owen at 9/12/2007 10:00:15 AM
Folks,
Has anyone ever come across this exception before:
This constraint cannot be enabled as not all values have corresponding
parent values.
I have not changed any of my code, sql or databases and my system
suddenly started bouncing back this error.
Any ideas?
Cheers,
Simon
... more >>
Problem with PictureBox
Posted by bassi.carlo NO[at]SPAM gmail.com at 9/12/2007 7:28:53 AM
I use a PictureBox to allow users to draw fixed size rectangles.
User click the mouse inside PictureBox and the program read where
mouse is and collect infomations in an array.
Dim Rcs() as Integer 'Rectangles array
Then I call a function who draw rectangles inside PIctureBox1 using
a... more >>
Regular Expression question
Posted by AlBruAn at 9/12/2007 6:52:05 AM
I have a form containing an HTML editor to permit users to create templates
similar to Word's templates. I'm having to do it this way as we need to save
the template layout in SQL Server. Anyway ...
Based on the user's work area and the process they've selected to create the
template for... more >>
System.Net.Mail and external email address's
Posted by shawrie at 9/12/2007 3:37:57 AM
Hi
can anyone help? Im currently using the system.net.mail to send
emails. If the emails are internal then it works fine if i try to send
to a external email then nothing goes.
Any ideas?
Shawrie
... more >>
Picturebox SizeMode property
Posted by Ricardo Furtado at 9/12/2007 1:58:04 AM
i have a problem on placing an image inside a picturebox.
My problem is that i have a picturebox with the SizeMode property as "Zoom",
which i must have, but when i insert the image in the picturebox, the image
is aligned to the center of the picturebox, not the left. Does someone knows
how ... more >>
Newb ASP question
Posted by Fayven Wren at 9/12/2007 12:01:02 AM
Can anyone assist a newb with troubleshooting the code below? I can
not seem to create new database records. I do not get any error
messages, just no new records. Editing and deleting works fine. I am
using VS 2005. If anyone can suggest a different, more active group
or web site I may be a... more >>
VB.net Datagridview cellstyle colors
Posted by Steve at 9/12/2007 12:00:00 AM
Hi All
I am using VB.net 2005 professional
I set the background color of a datagridview cell to different colors
depending on many reasons
I set them in the cellformatting event and all works great, i.e the colors
appear as requested
e.g e.CellStyle.BackColor = Color.Red
When I try to... more >>
Joystick / games port support
Posted by Jack Russell at 9/12/2007 12:00:00 AM
Does .net have support for this. I wrote some code to drive a model
train under vb6 (I think I used a third party control) but cannot find
anything under .net (or at least anything that makes sense to me!)
Thanks
jack Russell... more >>
Placing an image on a Panel
Posted by Jerry West at 9/11/2007 5:21:52 PM
I'm a newbie to .NET from VB6.
I have a Form with a Panel control on it. When the Form loads it maximizes
and so does the Panel control. I then fill an array with the path to images
at a specific folder. At that point a timer fires every x seconds which
calls a routine that draws an image o... more >>
Perl Conversion
Posted by at 9/11/2007 5:20:53 PM
I'm trying to convert the following Perl code to VB.net
###################################################################
# Calculates the checksum for the message
#
# In: The string
# Out: The checksum
sub _calcCheckSum {
my ( $self, $str ) = @_;
my @sum = ();
... more >>
Start form
Posted by Gilbert Tordeur at 9/11/2007 4:47:29 PM
Hello. I am using VB 2005 (Windows Forms). Microsoft proposes a start form
that displays some program information at the start of the program, and then
disappears. What drives the fact that this form disappears ? Elapsed time ?
Some event ? Where is this logic explained ?
Thanks for your help,
... more >>
what the?
Posted by Smokey Grindel at 9/11/2007 4:26:30 PM
Anyone able to figure whats wrong here? It is saying it cant convert from
itself to itself? I am confused on this error that the designer is
throwing...
One or more errors encountered while loading the designer. The errors
are listed below. Some errors can be fixed by rebuilding your ... more >>
dataview sorting
Posted by Uri Dimant at 9/11/2007 2:56:46 PM
Hello folks
Can anyone help me with sorting for binding?
VS2005. VB.NET
I have a datagrid view where I display two columns - name of employees with
their positions like
'John' ,1
'Rebecca',2
'Justin',3
As far as good. I have a data table and I perform filter by using data view
objec... more >>
Maybe be a Graphics Question or just a Dumb one.
Posted by Keith Rebello at 9/11/2007 2:02:53 PM
I have a program whose main form has a picture box on which concrete column
sections are drawn. Input to the drawing is achieved by filling in data in
various dialog boxes (called by using Form.Showdialog). When a dialog box
is closed the drawing on the picture box is updated.
Everything ... more >>
How do I: Query AD from a list of usernames in Excel
Posted by Dazman98 at 9/11/2007 8:44:09 AM
Hi
I have no real experience with VBA other than basic macro's, but I have
created a list of usernames in Excel and now I wish to Query AD to see if the
user's account is:
1. Active
2. Disabled
3. Does not exist.
If you are a coding guru, could you please help me out by providing the... more >>
How to set registry key during msi install process
Posted by <-> at 9/11/2007 7:55:16 AM
How can I set or create a registry key during the installation of our .net
projects?
Thanks.
... more >>
Help needed with Janus GridEX
Posted by palmah11 NO[at]SPAM gmail.com at 9/11/2007 7:35:58 AM
Hi,
I have a Windows Application in which i am using Janus GRidEx for
displying data. In this Janus Grid i have a check box column.
i want a functionality if user selects checkbox for particula row(s)
and then hit delete button, the dat should get deleted.
For this i am using GetCheckedRows met... more >>
VB 2005 Express - Excel 2007 - how to?
Posted by Duke Carey at 9/11/2007 7:02:04 AM
I *did* have Excel 2003 on my office PC and was fiddling with a little VB
Express app that interacted with Excel - nothing complex, but it worked.
Since then IT has upgraded me to Office 2007 and the only thing I can import
is Microsoft.Office.Core, nothing with the Excel object at all. My e... more >>
Record Lookup
Posted by MikeS at 9/11/2007 6:18:02 AM
I have searched Google with every possible combination of key words I can
imagine and have not been able to find an answer to what I think is a very
simple question and probably has a very simple solution.
Keep in mind.....I am a NOVICE programmer, so you will have to spell it out
for me.
... more >>
Import a class from another project
Posted by ffreino NO[at]SPAM gmail.com at 9/11/2007 5:01:46 AM
Hi,
I have a Solution with two different Projects.
In one project, can I import a class from another project?
It's something like:
Solution mySolution
ProjectA
Class A1
ProjectB
Class B1
How can I create a ClassB1 object in ClassA1? Is it possible?
Thanks.
... more >>
Insert code with add-in
Posted by Joh at 9/11/2007 4:09:24 AM
I'm developing an add-in for Visual Studio in VB.Net. With this add-
in
I'd like to insert source code to the the Visual Studio project that
is hosting my add-in. How can I access
the editor of the hosting project from VB?
... more >>
Cross thread operation to show a form
Posted by JB at 9/11/2007 3:38:32 AM
Hi All,
I have a form (CFormMain) with a button. When I click the button, I
call a remote server that performs some action and sometimes notifies
back the client by displaying a custom message box (The custom message
box is just another form displayed via a ShowDialog). I'd like to make
my CF... more >>
Draw over other controls
Posted by Phil at 9/11/2007 12:00:00 AM
I would like to draw some text which will be in front of any other controls,
but without obscuring them completely. If I use DrawString in the form's
Paint handler the text is always behind, not in front of the other controls.
In VB6 I would have simply used a label control and set it to trans... more >>
Changing Collection Item Type
Posted by Johnny J. at 9/11/2007 12:00:00 AM
I would like to add an extra property to the ListV iewColumns. Is that
possible. First of all, It doesn't look like there is a "Column" object at
all so what object would I inherit the Column items from?
And is it possible to "substitute" the ColumnHeaderCollection's Column items
with my in... more >>
Game
Posted by Fine at 9/11/2007 12:00:00 AM
Hello every one
I designed game using visual basic program language through Visual studio
2005.
The game works good on my computer.
But when I did copy to all the files of this game and copied them on my
brother's computer
( child) the program does not work because the VB program not... more >>
Join Expression Not Supported Error in Access
Posted by Tony K at 9/10/2007 8:59:46 PM
Here is another SQL 2005 statement converted to Access SQL that doesn't
work. Error message is: Join Expression Not Supported. I don't know Access
well enough to know what is not supported. (INNER JOIN)?? (LEFT OUTER
JOIN)?? Any ideas??
*****************ORIGINAL SQL 2005 STATEMENT*****... more >>
Register service with parameters usingInstallUtil ?
Posted by vbnet Group at 9/10/2007 7:44:36 PM
Hi Guys,
Does anybody know how to register a service with parameters? I
developed an application in VB.NET with can also run as a service.
Therefore the executable must be started with a -service option. So
the exe path to be registered should look like
C:\tool\tool.exe -service
Now I ch... more >>
Brush Constructor Question
Posted by Johnny J. at 9/10/2007 5:40:50 PM
I've got an inherited control where I want the user to be able to specify a
color property. Using that color, I'm drawing a line
private m_UserDefinedColor as Color
.....
Dim g as Graphics=this.CreateGraphics
Dim myPen as Pen = new Pen(m_UserDefinedColor)
g.DrawLine(myPen, X1, Y, X2 - 1... more >>
Connection pooling questions
Posted by fniles at 9/10/2007 4:57:17 PM
I am using VB.NET 2005 and SQL Server.
I would like to test how many connections I can have open in the connection
pooling.
1. In the connection string if I do not include "Max Pool Size=200", it can
open around 146 connections before it gave me the error "Timeout expired.
The timeout peri... more >>
More VB/Access/SQL syntax problems
Posted by Tony K at 9/10/2007 4:51:14 PM
George was able to help me out last week. Thanks George. I have some
convert problems. RECAP: I'm converting SQL VIEWS into ACCESS Queries.
Some problems I have use CONVERT in SQL but I don't know the appropriate
syntax in Access. Here are the queries I have causing problems.
The error ... more >>
Read Text File into array w/ ce 5.0 Application
Posted by RW at 9/10/2007 4:47:07 PM
Hello. I've been working w/ vb 6.0 for sometime now and have moved up
to VS 2005 to create a application for a Windows CE 5.0 hand held
device. I thought the transition would be easy, however the language
is quite a bit different from vb6. So here's a snippet of code that I
would use in vb6 t... more >>
Refresh Desktop or fileexplorer
Posted by Manfred Meier at 9/10/2007 3:58:26 PM
Hello
In my code I create a folder on the desktop or any other folder
location.
Unless I press F5 while the Desktop or the Explorer containing the
created folder has the focus this new folder will not show up.
Is there a solution to do a refresh programatically?
I tried
AppActiva... more >>
Start a method after form shown on screen
Posted by Smokey Grindel at 9/10/2007 3:24:22 PM
Where or what is the proper way to get a procedure to start after the form
is shown on the screen? I figured out if you put it in Load it will start
before the form is shown and the form will not show until the procedure is
complete... so whats the best way to get something to start after the ... more >>
Display folders & files
Posted by ats NO[at]SPAM jbex at 9/10/2007 2:57:59 PM
I have a number of image folders all with varying numbers of files in them
and am trying to work out how to display the folders (poss using a tree
view) and then to display a clickable thumbnail of each image in whichever
folder is selected. Any help would be much appreciated.
TIA
--
ats@... more >>
File Version
Posted by Rob at 9/10/2007 2:27:18 PM
Hi Gurus,
How do I get the file version?
I am able to get the write time using IO.File.GetLastWriteTime(FileName)
But don't know how to get the version number.
Please help me.
I'll appreciate your help.
Thanks, Rob.
... more >>
Which Namespace for DBConnection?
Posted by RSH at 9/10/2007 1:48:42 PM
I have a data access layer that needs to handle multiple Database types. I
have seen genecric references being made to a DBConnection, DBCommand etc.
What namespace are they in?
Ron
... more >>
PropertyGrid
Posted by Johnny J. at 9/10/2007 1:41:32 PM
I want to use the PropertyGrid component in a new application, but I've
never used it before. Does anybody have a link for a simple sample :-) that
shows how to use it?
Is it only possible to bind the grid to properties on a class or can you
even bind directly to a datatable?
Cheers,
Jo... more >>
Access resources of a .NET DLL from another .NET application?
Posted by JB at 9/10/2007 9:21:49 AM
Hi All,
I've got 2 VB.NET applications in which I'd like to use strings
declared in a VB.NET DLL. Is there a way to do that?
Ideally I'd like to access it the same way as I access local resources
i.e. do something like DLL.My.Resources.XXX where XXX is the name of
the resource String.
Than... more >>
Byte is not a member of Integer
Posted by cmdolcet69 at 9/10/2007 7:04:21 AM
Public Shared adc_value As word_byte
Public Class byte_low_hi
Public low_byte As Byte
Public high_byte As Byte
End Class
pmsg(2) = CChar(adc_value.word16.high_byte)
I get the following error "high_byte is not a member of Integer" How
can i fix this
... more >>
how to get nr of fraction digits
Posted by Michel Posseth [MCP] at 9/10/2007 4:28:01 AM
Hello ,
Does someone knows a simple way of how to get the nr of fraction digits ?
example :
1.23 would give a result of 2
1.234 would give a result of 3
Yes
I know i could split the number on the decimal seperator and then count the
characters in the second part of the ... more >>
enumerate active directory groups using vb.net
Posted by interuser at 9/10/2007 4:25:46 AM
Hi
I want to enumerate all groups of an active directory.
How do I do that?
Thanks
... more >>
The complexity of the design
Posted by Phillip Taylor at 9/10/2007 3:11:20 AM
I have made my own custom control. It looks like a single line textbox
with icons on the right hand side. It pretty much has the same
functionality as Microsoft Outlooks "To" field, where you can Alt-K to
complete things etc. Mine has a different purpose but is essentially
the same style.
Any... more >>
newbie: How do i update the datagrid?
Posted by losttt at 9/10/2007 1:06:02 AM
I have the following code to get data into the datagrid.
Try
sql_vac = "SELECT subject.sub_name AS [Subject Name],
vacancy.vac_no_edu AS [No Educator Number], " & _
"vacancy.vac_no_qualified AS [Educator not Suitably
Qualified], vacancy.vac_gr1 AS [Gra... more >>
Filter in datatable
Posted by Uri Dimant at 9/9/2007 5:41:46 PM
Hello
We use VS 2005.
I fill a data table with simple data from database (one table) which has one
column called 'flag' filtering by numbers as 1,2,3.
Now that I have all data in data table I'd like to filter it by value in
'flag' column. I have three datagrid views on my form and would lik... more >>
Converting to vb.net 2003
Posted by cmdolcet69 at 9/9/2007 4:52:17 AM
Can anyone give me some ideas on how to convert the following program
to vb 2003? I would like to jsut take this code and implement it in
vb.
def.h
/* Global Type Definitions */
typedef unsigned char byte; // 'byte' is an 8-bit
unsigned value
typedef unsigned int ... more >>
See if Mac Address Online
Posted by Husam at 9/9/2007 4:38:00 AM
Hi EveryBody:
How can I see or detrmain If a specfiy MAC address OR its assigned IP is
online ?
Is there any way to do it by
System.Net.NetworkInformation
any help will be apprecaited
regard's
Husam... more >>
Making Thumbnails
Posted by David Griffiths at 9/9/2007 12:00:00 AM
Hi all
I posted this on vb.contols but the group does not seem to be as active as
this one.
Using VB2005
I have a Web page that I am trying to load images as thumbnails. At present
I am using this code which is just loading a small view of the main image
also I presume using the same am... more >>
Control Certain IP
Posted by Husam at 9/8/2007 11:38:01 PM
Hi EveryBody:
My question Is how can I control or track any Ip of computer and prevent it
from entering web site either by domain name or ite IP address
For example:
If my computer IP is 10.0.0.117 and Domain name for site is www.yahoo.com
and its relevent IP address id for example 84.3... more >>
ASP.NET How do I go to a page anchor
Posted by David C. Barber at 9/8/2007 11:07:53 PM
I'm using VB 2005 and ASP.NET, and after a postback I want to update the
page and return to a specific Anchor tag on that page. I've not been able
to find out how to do this, and as you probably know, the MS VS 2005
documentation is virtually useless compared to, say, VS 6.
Can someone tell m... more >>
change system volume in a vb script
Posted by horizxon NO[at]SPAM gmail.com at 9/8/2007 7:54:48 PM
Hi. I am a perl scripter doing things in a windows environment and a
current thing Im working on requires me to change the volume. Perl has
a Win32::Sound module which allows one to do this easily but Its
messing things up like the balance and there seems to be no other way
around it except to c... more >>
www.cheapestsell.com : puma dunk dsquared2 bape kobe prada nike shox
Posted by cheapestsell at 9/8/2007 7:39:33 PM
Cheap sport shoe
www.cheapestsell.com
Hotmail:cheapestsell@hotmail.com
Yahoo: cheapestsell@yahoo.com.cn
www.cheapestsell.com
Nike Air Jordan 1 ,Nike Air Jordan 2 Shoes,Nike Air Jordan 3,Nike Air
Jordan 4 Shoes ,Nike Air Jordan 5 Chaussure Shoes,Nike Air Jordan 6
Catalog ,Nike Air Jordan 7 S... more >>
Question on performance (events vs. timer)
Posted by Kyjan at 9/8/2007 5:06:58 PM
Greetings to all!
I have a question about events vs. timers. I want to know what you
guys think and/or have experienced. Thank you in advance for reading
this!
I have an object that communicates back and forth with a web service.
Now, this object is currently instantiated in all forms whe... more >>
URGENT - ASP.NET, AJAX and server side events
Posted by Mike at 9/8/2007 4:06:07 PM
Hi,
I’m wondering if I can do this with ASP.NET?
I have an ASP.NET application that runs a component that fires some
events.
When these events are fired, I will like to trap them at client level
(that is the web browser session where the user is running the actual
application... more >>
Change font of a tab control
Posted by Marco Trapanese at 9/8/2007 3:54:51 PM
Hi,
I have a tab control and several other controls into it.
When I change either at design-time or at run-time the font property of
the tab control, also the inner controls will be affected.
How to change the font of a container without affect controls inside?
Thanks
Marco / iw2nzm... more >>
is Vista compatible with the IDE of VB6 and VB7 (.net) ?
Posted by DavidAvisoft at 9/8/2007 5:32:00 AM
I support some legacy applications and use both VB6 and VB7 (.net)
development environments on a Windows XP computer. The machine is due for
replacement. The question is - can I install vb6 and vb.net on a Vista pc? Is
it compatible or does the replacement computer need to have XP on it? Does ... more >>
how do i use a dll ?
Posted by Nathan at 9/8/2007 12:00:00 AM
Hi, i'm kinda new to vb.net 2005
I have a bunch of functions i would like to share with other vb.net apps
i've created.
i've managed to create a class library project and put all my functions in
there and then built the project and now i have a dll file in the /bin/debug
dir.
How do i a... more >>
Register question
Posted by JR at 9/8/2007 12:00:00 AM
hi
how can I create a contectmenu in the explorer.
Like I have my datafile. I right clikc on it and I have a menu open, edit
....
ex: on a folder a have open, explore and find. I now how to change/add 1
item but I want to have a submenu for about 8 diff commands
Jan
... more >>
Access to .Net Converter
Posted by SS at 9/8/2007 12:00:00 AM
Hi all
I have an application i wrote using msaccess and i want to convert it to
vb.net any one know how can i do this.
thanks in advance
Wael
... more >>
|