all groups > vb.net > january 2008 > threads for january 1 - 7, 2008
Filter by week: 1 2 3 4 5
What is min.Hardware req. for VS2008?
Posted by Rachana at 1/7/2008 11:27:57 PM
Hi,
I am very new to VB.Net
At present I am having VS2003 - P4 - intel - 2.4GHz - RAM 512 MB - HD
80 GB - OS Windows 2000 Service Pack 4.
I am thinking of going with latest version VS2008. What is minimum
hardware requirement?
Need advice
Regards,
Rachana... more >>
Monochrome GIFs in VB?
Posted by surturz at 1/7/2008 5:12:11 PM
This article is helpful in creating 1bpp (Monochrome) GIFs using GDI+
http://support.microsoft.com/kb/319061
However, I'm using VB 2005 and am having trouble copying the pixels across.
The C code I'm having trouble converting follows:
unsafe
{
// Get the pointer to the im... more >>
Resetting IO.StreamReader to beginning of file
Posted by BobRoyAce at 1/7/2008 3:19:57 PM
I am using an IO.StreamReader to read the contents of a text file. It
all works just fine. However, I do not know of a way to move back to
the beginning of a file. For example, let's say that I read in five
lines from the file, or all of them for that matter. How do I then
point the IO.StreamRea... more >>
VS2008 vs VS2005
Posted by Iouri at 1/7/2008 1:01:59 PM
Hi everybody,
We are currently using VS2003 and now we are in the porcess of upgrading to
the next Visual Studio version. Does somebody have a real life experience
with VS2008?
My boss wants to go with VS2005 and I am trying to convince to buy VS2008.
Can somebody provide links to compare 2 ... more >>
Is there difference betweein using AddressOf and Delegate?
Posted by Rich at 1/7/2008 11:29:06 AM
Is there a difference between AddressOf and Delegate for assiging a
function/Sub to an event?
Add_Handler txt1.Click AddressOf WhatColorFont
or
Private Sub Delegate WhatColorFont()
....
Is there any difference between these or is it just a one or the other thing?
Thanks,
Rich... more >>
Update statement not working for VB->Access
Posted by Anil Gupte at 1/7/2008 11:00:18 AM
This statement:
Update Profiles set ProfileName='Kids', Current=True,
ProfileDescription='Kids', Password='Kids' where ProfileID=2
as also:
Update Profiles set ProfileName='Kids', Current=Yes,
ProfileDescription='Kids', Password='Kids' where ProfileID=2
works within Access. But neither of... more >>
Global Enum question
Posted by BobRoyAce at 1/7/2008 9:28:38 AM
I have a module that defines, among other things, an Enum:
--- MODULE CODE BEGINS ---
Namespace OMEGA.GRP
Module Globals
...
Public Enum FileProcessingStatus
None
Processing = 1
Completed = 2
Failed = 3
End Enum
...
End Module
End Namespace
... more >>
StatusStrip item help...
Posted by hzgt9b at 1/7/2008 9:19:19 AM
Using VS2005 (.NET 2.0), VB.NET,
I have a windows forms application. I have a StatusStrip containing a
ToolStripStatusLabal and a ToolStripProgressBar.
I want to force the status label to behave like it's docked to "Fill"
inside the StatusStrip and force the progress bar to behave like it's
d... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Using DynamicInvoke?
Posted by Terry Olsen at 1/7/2008 7:16:02 AM
I'm using the SciLexer.dll to write a code editor for an in-house scripting
language. I have the editor window up on a form but I need to use it's API.
I've used the following commands to load the dll:
Private scihWnd As Integer 'Scintilla's hWnd
Private SciFunc As Integer 'Scintilla's Main ... more >>
VB.Net Bluetooth from Mobile device
Posted by David at 1/7/2008 6:45:57 AM
Hi,
Would someone mind pointing me to a site or document that might help me
understand how to detect a bluetooth device and talk to it
using VB.NET compiled for Windows Mobile ? I have VB.Net 2005 and my PDA
runs Windows Mobile 6.
I have downloaded the Windows Mobile SDK but have not run... more >>
Upload and download to web site
Posted by Husam at 1/7/2008 3:43:01 AM
Hi EveryBody:
I'm working with project in my company by using ASP.Net 2.0 that allow the
users to upload and download files to web site in the internet as backup. The
user will first upload his or her own files in the website that will save the
data immediatlly into database.
and when th... more >>
tfm.dll API call different results on VB6 and VB.Net
Posted by Ă–zden Irmak at 1/7/2008 2:28:51 AM
Hello There,
I'm coding an application which uses a library, "tfm.dll", to communicate
with a finger print reader.I'm converting the communication API function
declarations from the provided VB6 source codes to VB.Net and having a weird
issue :
The VB6 declaration of these functions are ... more >>
product version
Posted by Guy Cohen at 1/7/2008 12:07:03 AM
Hi all
I use: me.caption =Application.ProductVersion() (vb 2005)
to present the version of the product.
It always show 1.0.0.0
I googled some and found that I have to edit assemblyinfo.vb
1. When I add it to the project - I have compilation errors.
2. When I did that - it did not help...
3.... more >>
newbie in .net: working with 1 file in multiple projects
Posted by Guy Cohen at 1/6/2008 11:09:01 PM
Hi all
I made some common used classes (e.g. config reader, email sender, user
login class).
When I add them to the project - a copy of the file is being made.
How do I avoid that?
I want them to stay in (e.g.): c:\myfiles\vb\common classes
So if I update them - all projects will be w... more >>
newbie in .net: working with 1 file in multiple projects
Posted by Guy Cohen at 1/6/2008 11:07:00 PM
Hi all
I made some common used classes (e.g. config reader, email sender, user
login class).
When I add them to the project - a copy of the file is being made.
How do I avoid that?
I want them to stay in (e.g.): c:\myfiles\vb\common classes
So if I update them - all projects will be wit... more >>
attachment in database
Posted by Guy Cohen at 1/6/2008 9:49:01 PM
Hi all
What is the correct field type in sql server 2005 for attachments?
I used TEXT and tried to store a small jpg file (30KB).
I got a run time error
"Attempted to read or write protected memory"
I tried to play with inserted value, when I insert there:
""
or
chr(1)
or
chr(1) & chr... more >>
FindWindowEx - panel issues I think
Posted by kru at 1/6/2008 7:44:47 PM
Hi All,
I've been trying to get FindWindowEx to work to locate a button, and
am stumped on the following:
The structure of the external app is as so from Spy++:
- "Main Window" - ThunderRT6FrmDC
- "" - ThunderRT6Frame (outer panel)
- "" - ThunderRT6Frame (inner pane... more >>
Combo and Text Box issue at App Startup
Posted by Mr. B at 1/6/2008 6:53:14 PM
In my application, I have a Combo Box and Text Box.
At Startup, I fill the Combo Box with information that I allow the Users to
select to do certain Calculations.
My Text Box shows a Value calculated by the information in the Text Box.
At Startup, I have Default information in both boxes.
... more >>
Check if a button is disabled in an external application
Posted by kru at 1/6/2008 5:13:45 PM
Hi All,
Was hoping to get some input on how I might be able to check if a
button is disabled or not in a 3rd party application?
I'm trying to capture the session state of an external program and
that is revealed by whether the buttons are disabled.
Any assistance would be much appreciated... more >>
Check if button is disabled in an external application?
Posted by kru at 1/6/2008 5:06:12 PM
Hi All,
Was hoping to get some input on how I might be able to check if a
button is disabled or not in a 3rd party application?
I'm trying to capture the session state of an external program and
that is revealed by whether the buttons are disabled.
Any assistance would be much appreciated... more >>
Newbie question on dotnet - OOP
Posted by Mr. X. at 1/6/2008 3:50:10 PM
Hello.
I would like some examples on using OOP with dotnet developing tools
(For VB & VC), please.
Also what are the main difference of version 3.0 and priors (2 & 1.1).
Need some samples, and tutorials please.
Thanks :)
... more >>
how to count the number of pages of a file
Posted by prince via DotNetMonster.com at 1/6/2008 1:30:14 PM
hi! i used the following code to print files like pdf and .doc:
Dim x As New ProcessStartInfo
x.UseShellExecute = True
x.Verb = "print"
x.WindowStyle = ProcessWindowStyle.Hidden
x.FileName = file_name
Process.Start(x)
is there a way to count the number of pages of the file being printed?
... more >>
How to cast Control to a DropDownMenuItem?
Posted by Dean Slindee at 1/6/2008 11:20:38 AM
I need to interate thru the menu items under a ToolStripDropDownButton.
Some of them are ToolStripMenuItems and some are ToolStripSeparators. I
want to deal only with the ToolStripMenuItems, so am using Control in order
to interate thru the collection. However, when I do that, I cannot cast ... more >>
Sending Emails
Posted by Guy Cohen at 1/6/2008 7:40:01 AM
Hi all
I use:
Dim message As New MailMessage(txtTo.Text, txtFrom.Text, txtSubject.Text,
txtBody.Text)
Dim emailClient As New SmtpClient(txtSMTPServer.Text)
emailClient.Send(message)
And its working fine.
However I was wondering if there is a way to confirm that the email was sent.
The sen... more >>
problem with my.settings
Posted by Alcibiade at 1/6/2008 6:35:24 AM
Hi, I have 2 questions about saving windows form settings.
I have a form with 1 textbox and 2 radiobuttons
I added application settings for :
textbox1, radiobutton1 and form location
I've set my.settings.save on form closing event.
I find :
-radiobutton doesn't remember its state but textbox... more >>
My.Computer.FileSystem.WriteAllText and disposing
Posted by kimiraikkonen at 1/6/2008 3:58:42 AM
Hi,
Should i call a kind of dispose or close function after using:
My.Computer.FileSystem.WriteAllText
or
My.Computer.FileSystem.ReadAllText
for next usage in order to leave resources empty / buffer flushing.
I read VB.NET's "using...." statement also closes open resources
"automati... more >>
Array Function
Posted by Darkman at 1/5/2008 9:29:00 PM
Hi,
I am wondering how you multi-dimension an array function?
My declared function looks like this:
Public Function GetCustomerList(ByVal Val1 As String, ByVal Val2 As Long,
ByVal Val3 As String) As String()
Previously I dimensioned a single dimension Array to the size I wanted and
t... more >>
copying combos
Posted by Zebra Code at 1/5/2008 9:07:33 PM
hi all
i should copy the items of a combo to n other combos.
it's not a cycle:
With cboColor1
.Items.Add("ffffff")
.Items.Add("cecece")
...
.SelectedIndex = 0
End With
and the list may be long enough.
is there a quick wa... more >>
The code below will not work on Vista 64bit?
Posted by yxq at 1/5/2008 12:32:35 PM
Hello,
The code below can popup the property dialog of a file, it works well on XP,
Vista 32bit, but it will not work on Vista 64bit, how to correct it? i have
tried to change integer to intptr, but not work yet, thank you.
//////////////////////////////////////////////////////
<System.Runt... more >>
Create Directory with VS2008
Posted by Robert at 1/5/2008 11:15:19 AM
Greetings
New to Visual Studio 2008.
Always us VB6.0 SP5.
I am trying to copy files from A to B.
I select a directory, and copy files. Works ok, but it does not create the
directory first.
snippet.
Private Sub cmdTo_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Han... more >>
Static Integer
Posted by Wolf Saenger at 1/5/2008 11:09:16 AM
smaple:
sub SomeSub()
static i as integer = 1
i+= 1
end Sub
strange as initial Value means first call the variable = has as default max
( 243..... ) integer as value.
is this normal?
Wolf
... more >>
Clearing Keyboard Buffer
Posted by vbguy2008@gmail.com at 1/5/2008 9:35:49 AM
Hi,
I am coding a Windows Form Application in VB.NET 2008. I would like
to clear the keyboard buffer or at least empty all outstanding key
presses queued up for my application at certain points in my program.
I looked at System.Console.Read, but that doesn't seems appropriate.
I also looke... more >>
How to convert the C# code below to VB.NET?
Posted by yxq at 1/5/2008 7:41:52 AM
How to convert the C# code below to VB.NET? thank you.
AddLogicalDrive(((char)('A' + i)).ToString() + ":");
... more >>
select specific coordinate from pdf file
Posted by pankaj at 1/5/2008 5:00:14 AM
hello friends
i have a problem i want to select a specific cordinate from pdf file
according to X and Y cordinate
through vb.net. and i have no any idea about this.
i am not under stand
please help me
Thanks
Parth kumar... more >>
My.settings are lost if location is changed
Posted by kimiraikkonen at 1/5/2008 1:40:00 AM
Hi,
I used My.Settings namespace to store application settings well. If i
don't change its location, i can call saved settings OK. But maybe
it's a bug or not, if i change my application location to another
folder or drive partition, it gets lost!
How can avoid this?
Thanks.... more >>
Begininvoke needed?
Posted by kimiraikkonen at 1/5/2008 1:35:20 AM
Hi,
I have a small app which sends using .NET's SmtpClient Class and sends
well. But the problem is that i placed a marquee-type progress bar to
have an animation and hide by default.
Then i placed "progressbar1.show" code inside send button, but the
problem is that progress bar is shown afte... more >>
I need to get the screen's PPI
Posted by Academia at 1/5/2008 12:45:44 AM
I need to be able to get the screen's PPI.
I know I can do it using GetDeviceCaps but is there a class that I can use
instead?
Thanks
... more >>
Why CLS-compliant warning?
Posted by harrym55@yahoo.com at 1/4/2008 9:00:31 PM
Hi,
I receive warning for the following enum:
Public Enum enumMinOrMax
Min
Max
End Enum
Warning 20 Type of parameter 'MinOrMax' is not CLS-compliant.
This enum is contained in a different project from the code that
triggers this warning.
I noticed code in... more >>
vb.net question
Posted by Wendy Elizabeth at 1/4/2008 7:53:01 PM
I am new to visual studio.net 2005. What I need to do at my new job is to
write an application where users can enter data into 'screens'. The data that
is entered will end up in excel spreadhseets. Once the data is entered into
the excel spreadsheets, I will then export the data to vartious sq... more >>
Keydown event
Posted by win at 1/4/2008 4:51:03 PM
I'm convert a VB6 program to .Net platform.
My program use function key (F12) to close a form.
Now I found that the coding in the keydown event of control triggered, the
coding in the keydown of the form does not triggered.
Can anyone help me?
Thanks a lot.
... more >>
Keydown event problem
Posted by win at 1/4/2008 4:42:23 PM
when the cursor is in a textbox, only coding in the keydown event of the
textbox triggered, the coding in the keydown event of the form does not
triggered!
Problem: I need to change a VB6 program to .Net. It uses function key(e.g.
F12) to close the form, now i need to write the coding in the ... more >>
Overloading constructor in an abstract nested class
Posted by Louis Somers at 1/4/2008 2:28:29 PM
Is it possible (if so how) to override the constructor in an abstract class?
Here is a simplified example of what I'm rtying to do:
Create a windows App, drop a button on the form and doubleclick it.
In the onClick event I have:
Button1.Text = New HelloJohn("Hi").ToString()
'should print ... more >>
How to create an automated input box.
Posted by cmdolcet69 at 1/4/2008 1:50:24 PM
I have the code below that will evaluate a string of characters. If
its less then 12 long it will trigger a message box if its equal it
will save the information and close the form.
I have this currectly on a button event, how could i place this same
logic say once i enter in my last characte... more >>
overload resolution failure, narrowing conversion
Posted by AMercer at 1/4/2008 1:29:01 PM
I have a strange situation with vb 2005 regarding option strict that looks
like a compiler bug to me. Consider:
Dim f1 As New Font("Arial", 8.25)
Dim f2 As New Font("Arial", 8.25, FontStyle.Bold)
' f1 is ok with option strict on or off
' f2 is ok with strict on, but with off I ge... more >>
Do Loops and Timers
Posted by MikeS at 1/4/2008 12:25:05 PM
Can someone tell me why my program hangs when I call a timer function from
within a Do Loop. Here is the code:
Public Class MainForm
Public intCounter As Double = 0
Public intMin As Double
Public intSec As Double
Private Sub btnStart_Click(ByVal sender As System.Object,... more >>
Pulling first name out of a name column in DB
Posted by Jim in Arizona at 1/4/2008 11:06:15 AM
I built a webpage using vb.net (.net 2.0) that creates a form letter. This
letter pulls data from a database. Although I populate the address with the
person's full name, which comes from the name column of a customer table, I
need to just get the first name for the Dear part of the letter (ie... more >>
List of Global Hotkey IDs?
Posted by kimiraikkonen at 1/4/2008 9:24:33 AM
Hi,
Here is 2 questions:
1) I declared some global hotkeys located inside Windows API follows
as:
Private Const MOD_ALT As Integer = 1
Private Const MOD_CONTROL As Integer = 2
Private Const MOD_SHIFT As Integer = 4
Private Const MOD_WIN As Integer = 8
But i need other key's IDs and decla... more >>
Need a COM expert
Posted by Academia at 1/4/2008 8:43:34 AM
I'm using ITextRange::FindText Method
and it works OK but I have to code so that if the return is
not equal to S_OK means it succeeded.
Does VB.NET do some thing to the HRESULT before I get it?
Should I always assume VB.NET inverts HRESULT returns?
Thanks
... more >>
Convert a 2-dimensional array to bytes, and then back
Posted by Cross at 1/3/2008 10:45:59 PM
I am building a client-server application. When the clients gets the data
from the server, the data is received as a byte array. The server works with
data in 2-dimentional arrays (recordsets received from SQL Server, could be
integers, float, string dates...) stored as the data type objects. ... more >>
Binding Manager/Currency Manager Problem?
Posted by Jim at 1/3/2008 9:53:10 PM
Hi,
Trying to implement databinding. I've a dataset with a table, a windows
form with typical controls: combobox, datetimepicker, textbox . . .
I use what I think is a normal method to establish the bindings:
textbox1.databindings.add("text", dataset, table.column)
The records displays in ... more >>
Export to flat file
Posted by Kevin Humphreys at 1/3/2008 9:50:55 PM
Hi There,
I am developing an windows application using VB.NET and I need to export and
open the contents of my datagrid to a flat file. Preferably txt or wordpad.
Whats the best direction/chunk of code to do this?
Thanks,
Kevin.
... more >>
CommandButton for further processing
Posted by leon Galushko at 1/3/2008 9:32:31 PM
Hi,
I want to set a CommandButton (Click - Event) to let the programm code
(below) progress.
The question is how is that exactly to do on the point.
The as boolean declared variable "PROCEED" is turning "FALSE" after
complieting While Wend - Loop and hereafter is coming the Text on ... more >>
Automatically keep database and dataset schema in sync
Posted by John at 1/3/2008 7:26:24 PM
Hello,
I am working on a project with a strongly typed dataset...I have to make
alot of changes to it as I change the database schema. Its tedious, error
prone and time consuming updating it manually as I have to do everything
twice...
Is there a way I can automatically regenerate it from t... more >>
how to open .doc within vb.net?
Posted by jabslim via DotNetMonster.com at 1/3/2008 4:54:49 PM
i have used this code(see below) to open .doc files using a cmd button, an
open dialog box, a microsoft textbox(in COM components) to display the .doc
file and a texbox to display the pathname of the file, it can open the .doc
file but the display is all messy and the characters and spaces wont a... more >>
getting the application publish version
Posted by Aussie Rules at 1/3/2008 2:45:42 PM
Hi,
I use the publish feature within Vs.net 2008, and have it set to increment
on each build/publish
I want to be able to display this as my application version number, but can
not see how to access the information.
application.productversion doesn't seem to access/use the publish versi... more >>
Another parsing question
Posted by Tom C at 1/3/2008 1:03:13 PM
Assume a user supplied excel cell formula of "=Model!E75" which could
change so I don't want to hard code it. Inside of a loop I need to
make it increment the row to refrence E76, E77, etc. Any suggestions
on a quick easy way to replace the 75 with the next value?
I know I could write a few li... more >>
read Word file
Posted by Alexander Vasilevsky at 1/3/2008 11:16:43 AM
Need to read Word file without Office installation. It's possible?
http://www.alvas.net - Audio tools for C# and VB.Net developers
... more >>
Bring anothe app to the front and an "Inside Application.Run" question
Posted by Academia at 1/3/2008 10:04:28 AM
I tried the code at the end of this note although
I didn't think it would work since
without and "Application.Run.."
I'm thinking there is no message loop
as I had found this on the internet:
This is a Win32 message (or wait loop)
while (GetMessage(&msg, NULL, 0, 0))
... more >>
NumericUpDown Control leading Zeros
Posted by cmdolcet69 at 1/3/2008 5:17:51 AM
Does anyone know how to set a property to display the leading zeros in
the numberic updown control for vb 2005?
I'm using the control and want to input a value of 01 however it will
just show 1?... more >>
Library Project
Posted by Muni r Chandu at 1/3/2008 4:51:22 AM
Hi,
pls give some points on this project...
Search - needs excution code
... more >>
Extracting Parts of a String
Posted by thomasc at 1/3/2008 12:53:55 AM
Hello,
I have a question about manipulating string in VB.NET2003.
I have a string that looks as follows:
MyString = "1st garbage blah, blah.. " & vbCrLf & _
"==============================" & vbCrLf & _
"2nd garbage blah, blah.. " & vbCrLf & _
"==============================" & vbCr... more >>
VB6 and Server 2008
Posted by Chris J at 1/2/2008 11:50:11 PM
Hi all,
I'm posting as a follow-up on this thread:
http://groups.google.co.uk/group/microsoft.public.dotnet.languages.vb/browse_thread/thread/25781f7b1d987306/490ef079b658c57a
....I've not found anything more definitive than this, with the exception
of a statement on VB6 support and Vista[... more >>
MDI Forms being "aware" of what happens on each other
Posted by BobRoyAce at 1/2/2008 10:35:13 PM
I am designing an application, using Visual Basic in VS 2005, with a
MDI interface. It is possible for the user to have anywhere from zero
to many MDI forms open at any given time. It is also possible that
changes to data made on one form could result in the need to update
other forms that are o... more >>
Crystal Report + Vb.net
Posted by imran.asghar@gmail.com at 1/2/2008 10:04:40 PM
Hi,
I need help how to use crystal report with vb.net 2003. Plz tell any
website or sample code etc
thx
imee... more >>
when to use smaller integers like byte or short rather than INTEGER
Posted by David at 1/2/2008 7:56:17 PM
If I have a loop that has a max value of say 20 why would I not want to
define the loop counter using a BYTE or SHORT as opposed to a INTEGER.
It seems in most books or samples they define fairly small numbers as
INTEGER.
thanks, David
... more >>
OpenSubKey VB.NET Two Backslashes
Posted by alowe at 1/2/2008 4:40:46 PM
I'm posting this so others can avoid a headache.
The OpenSubKey function of the RegistryKey object in .NET does require
two backslashes between keys on some machines (ex. "Software\
\Microsoft\\Office") even with VB.NET.
I came accross an issue where my development and test machines did not... more >>
how to print .pdf and .doc files in vb.net
Posted by myrrh at 1/2/2008 3:39:48 PM
hi! im currently doing a project in vb.net that could print 3 kinds of file
formats: .txt, .pdf, and .doc
i can already print text files but i haven't done pdf and .doc yet.
can anyone help me with this please? ur help would be greatly appreciated.
tnx!
... more >>
Installing data files with application?
Posted by Tracks at 1/2/2008 3:24:16 PM
I include some sample binary data files (produced by my software) with my
application installation for the user to do what they want with. I put the
files in the Users Personal Data Folder/(myappsname) with VS 2005 installer -
File Types screen. All is well until the user changes the name of ... more >>
SMO question
Posted by fniles at 1/2/2008 2:51:09 PM
I am using VB.NET 2005 and SQL Server 2005. Using the Server object from SQL
Server Management Object (SMO), how can I connect to a database on the
server ?
When I do it like the following, it gave me an error "Logon failure: unknown
user name or bad password" even though the user id and pass... more >>
date/time elapsed event
Posted by wanwan at 1/2/2008 2:18:07 PM
Hi,
I'm looking for a better way to do a date/time elapsed event rather
than a timer elapsed event.
Currently, I wrote my program to use a timer elapsed event set to 1
second, and it checks the date/time in the event. Is there a better
way?
Thanks.... more >>
WebBrowser ctl
Posted by Fernando at 1/2/2008 1:11:47 PM
Hi,
Visual Studio 6 WebBrowser control had the ability to set a value and
also to raise webevents like click eg:
webbrowser1.Document(icur).All.Item(Text_Password_Field.Text).Value =
Text_Password_value.Text
webbrowser1.Document(icur).All.Item(42).Click
Is there some way to do the same... more >>
Checking a Windows Service State and Starting one
Posted by John Wright at 1/2/2008 12:09:59 PM
I need to know how to check the state of a windows service. I need to
determine if the windows service "Smart Card" is running. If it is not
running, I need to start the service. Also it would be nice to set it to
automatic so I wouldn't have to keep checking. Anyone know how to start a
... more >>
Smart Card interface
Posted by John Wright at 1/2/2008 11:02:54 AM
I have just been given a project to develop using VB.NET. There is a smart
card reader that will take the Proximity Cards used for plant access, at
each station. The user will fill in manufacturing data, then use their card
to validate themselves to save the data. I need to know if there ar... more >>
Can I use LINQ to get to a VFP table?
Posted by cj at 1/2/2008 10:08:16 AM
Can I use LINQ in VB .Net 2008 to get to a Visual FoxPro Table? I've
seen demos of it with SQL Server but they've used it with a server
browser and I don't think that'd work when I need to see VFP tables.... more >>
Which VS template do I need
Posted by cj at 1/2/2008 9:29:59 AM
I need to write a web service--actually several. The data these web
services return will come mostly from odbc data sources. Also I'd like
to make this a web application as opposed to a windows app. I see they
offer an ASP.Net Web service application but I'm not sure if any of the
others ... more >>
Cannot publish a VB app - signtool error
Posted by Bill Nguyen at 1/2/2008 9:02:59 AM
Windows XP
VS 2005
I got the error message below when trying to publish the VB app to a network
folder:
Publishing location: \\nasserver\customapps$\VS2005\VISUALDISPATCH\
Installation URL:
http://masterserver/customApplication/VS2005/VISUALDISPATCH/
Your help is greatly appreciated.
... more >>
Getting keypress when form is inactive (no focus)
Posted by kimiraikkonen at 1/2/2008 5:55:44 AM
Hi,
I was working on a screen capturing application which must do its work
when a key (eg: CTRL) is pressed while the application is resides in
tray as a notification icon.
I mean, while my application resides as a notification icon, it must
do the work when a specific key is pressed such as ... more >>
IPC-Remoting: Threading issue in MDI-application
Posted by Michael Maes at 1/2/2008 4:52:06 AM
Hello,
I have an Mdi-application which also is a remoting-server (Ipc).
Several instances can co-exist on the same machine.
I have a small app (search-engine) (remoting-client) which calls a sub on
the MDI (specific instance) thus retrieving eg the data of a certain customer.
If the custom... more >>
Interface + derived method (via Overloads) problem
Posted by Lothar Behrens at 1/2/2008 4:18:20 AM
Hi,
I have created a base class implementing an interface and a derived
class also implementing
the same interface. While figuring out that I am unable to call the
derived method of an instance
or the derived class I have added the keyword Overloads to the
function.
But this does not help... more >>
What is wrong with this mutex code
Posted by Academia at 1/1/2008 10:17:03 PM
I build the solution.
In the bin folder I run the .exe
Twice
It runs each time.
Why doesn't the below code abort the second run?
Thanks
Shared Function Main(ByVal cmdArgs() As String) As Integer
Dim mutexWasCreated As Boolean
Using mutx As New Mutex(True, "TestJunk", mute... more >>
Changing Object Shapes
Posted by Greg at 1/1/2008 8:47:00 PM
I'm trying to create an application that has a different look. One of my
thoughts is to use rounded corners on my objects instead of perfect corners.
Is there a way to change how controls are shaped so that they have rounded
corners instead of straight corners?
Also, is it possible for me ... more >>
invalidoperationexcep
Posted by Richy at 1/1/2008 7:35:49 PM
Hi,
I'm running Visual Basic 2008 Express and Managed Direct X under
Windows Vista 64-bit and when I run my application I get this message:
InvalidOperationException
An error occurred creating the form....is not a valid Win32
application.
I found a few fix quite easily a few weeks ag... more >>
Using functions between projects
Posted by Anil Gupte at 1/1/2008 3:43:53 PM
In one VB.Net 2003 solution, I have three projects (one in the installer
project and not relevant here). However, the other two are the ones where I
want to share some commone fucntions. One is a Windows Forms based app and
the other is a Windows Service. Is this possible?
TIA,
--
Ani... more >>
Using an encrypted MDB
Posted by Anil Gupte at 1/1/2008 3:37:00 PM
I am using an MDB file which I have secured using the Access 2000 security
wizard. When I try to open it using a VB program I get an exception saying
"Cannot start your application. The wrokgroup information file is missing or
opened exclusively by another user". However, I can open it manua... more >>
Slow startup for .NET applications
Posted by kimiraikkonen at 1/1/2008 9:58:14 AM
Hi there,
I figured out, for the first execution for any .NET-powered app such
as VB.NET or C#, it takes 7-8 seconds to see main form of "any"
application even the application consists of a single form and a
button and only 32kb sized. The second execution(without rebooting
machine) is done les... more >>
Happy 2008!
Posted by rowe_newsgroups at 1/1/2008 8:55:51 AM
Just wanted to wish you guys/girls a happy new year, and offer you my
best wishes and prayers for 2008.
My apologies for being absent lately, I've started a new job and have
lost almost all of my free time to the daily commute. Hopefully, I be
able to relocate soon and be back to posting.
T... more >>
How to make VS stop on first chance exceptions
Posted by Academia at 1/1/2008 5:47:33 AM
I see the following in my "Output" pane when I run my program.
A first chance exception of type 'System.NullReferenceException' occurred in
....
I believe there is a way to configure VS so that it will stop on such
exceptions but can not find it.
Can you tell me how to set that?
... more >>
Query SQL using variables.
Posted by R.Rafii@gmail.com at 1/1/2008 4:23:40 AM
Hi,
I have a simple (?) question for you all experts.
I have a button that performs a query on my SQL and fill a datagrid on
the form
The code:
Dim sconn As New SqlConnection()
sconn.ConnectionString =3D "Data Source=3D(my.Server;Initial
Catalog=3DMyDB;Persist Security Info=3DTrue;Us... more >>
Remoting revisited
Posted by tomb at 1/1/2008 1:26:56 AM
Apparently the group microsoft.public.dotnet.framework.remoting no
longer exists, or it is hiding from my listing. In any case, I still
need help with how to approach remoting.
This is my first remoting projct, and the documentation and samples I
have found don't do much to make clear how ... more >>
|