|
|
|
Sending Emails
Replies (2) 6 January 2008
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 w...
|
|
|
|
How to cast Control to a DropDownMenuItem?
Replies (1) 6 January 2008
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 a...
|
|
|
|
RichTextBox - change color of visited hyperlink
Replies (1) 6 January 2008
In my app I would like to change the color of the hyperlink from blue to
purple when a user clicks the hyperlink in a RichTextBox.
The DetectUrls property is set to True and I handle the
RichText...
|
|
|
|
How to convert the C# code below to VB.NET?
Replies (5) 5 January 2008
How to convert the C# code below to VB.NET? thank you.
AddLogicalDrive(((char)('A' + i)).ToString() + ":");...
|
|
|
|
I need to get the screen's PPI
Replies (4) 5 January 2008
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...
|
|
|
|
Begininvoke needed?
Replies (12) 5 January 2008
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 pla...
|
|
|
|
My.settings are lost if location is changed
Replies (12) 5 January 2008
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 t...
|
|
|
|
Static Integer
Replies (1) 5 January 2008
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?
...
|
|
|
|
select specific coordinate from pdf file
Replies (1) 5 January 2008
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 stan...
|
|
|
|
Create Directory with VS2008
Replies (4) 5 January 2008
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.
...
|
|
|
|
Clearing Keyboard Buffer
Replies (11) 5 January 2008
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 ...
|
|
|
|
copying combos
Replies (11) 5 January 2008
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")
...
...
|
|
|
|
Array Function
Replies (9) 5 January 2008
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 S...
|
|
|
|
The code below will not work on Vista 64bit?
Replies (4) 5 January 2008
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, ...
|
|
|
|
Why CLS-compliant warning?
Replies (3) 4 January 2008
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 i...
|
|
|
|
vb.net question
Replies (2) 4 January 2008
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...
|
|
|
|
Keydown event problem
Replies (2) 4 January 2008
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...
|
|
|
|
Keydown event
Replies (7) 4 January 2008
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 th...
|
|
|
|
Overloading constructor in an abstract nested clas ...
Replies (3) 4 January 2008
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 ...
|
|
|
|
Need a COM expert
Replies (2) 4 January 2008
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?
...
|
|
|
|
List of Global Hotkey IDs?
Replies (8) 4 January 2008
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 MO...
|
|
|
|
Pulling first name out of a name column in DB
Replies (4) 4 January 2008
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...
|
|
|
|
Showing an email as read after viewing
Replies (1) 4 January 2008
Hi...I am using MAPI to loop through and view messages in a selected
folder. Everything works fine, but when I'm finished with the message
I want to mark it as read in Outlook. I thought this would ...
|
|
|
|
Do Loops and Timers
Replies (11) 4 January 2008
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 ...
|
|
|
|
overload resolution failure, narrowing conversion
Replies (1) 4 January 2008
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, FontStyl...
|
|
|
|
How to create an automated input box.
Replies (12) 4 January 2008
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 ...
|
|
|
|
Extracting Parts of a String
Replies (1) 3 January 2008
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 & _
"=============================="...
|
|
|
|
Extracting Parts of a String
Replies (1) 3 January 2008
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 & _
"=============================="...
|
|
|
|
Extracting Parts of a String
Replies (2) 3 January 2008
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 & _
"=============================="...
|
|
|
|
read Word file
Replies (4) 3 January 2008
Need to read Word file without Office installation. It's possible?
http://www.alvas.net - Audio tools for C# and VB.Net developers...
|
|
|
|
Automatically keep database and dataset schema in ...
Replies (4) 3 January 2008
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 manu...
|
|
|
|
Library Project
Replies (2) 3 January 2008
Hi,
pls give some points on this project...
Search - needs excution code...
|
|
|
|
NumericUpDown Control leading Zeros
Replies (2) 3 January 2008
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?...
|
|
|
|
getting the application publish version
Replies (6) 3 January 2008
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 t...
|
|
|
|
Bring anothe app to the front and an "Inside Appli ...
Replies (4) 3 January 2008
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 intern...
|
|
|
|
how to open .doc within vb.net?
Replies (8) 3 January 2008
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 th...
|
|
|
|
CommandButton for further processing
Replies (3) 3 January 2008
This is a multi-part message in MIME format.
------=_NextPart_000_000D_01C84E50.3033F200
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi,
I want to se...
|
|
|
|
Another parsing question
Replies (1) 3 January 2008
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 sugg...
|
|
|
|
Convert a 2-dimensional array to bytes, and then b ...
Replies (2) 3 January 2008
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 rece...
|
|
|
|
Export to flat file
Replies (3) 3 January 2008
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...
|
|
|
|
Binding Manager/Currency Manager Problem?
Replies (1) 3 January 2008
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...
|
|
|
|
http://www.shoesserver-yhnetsotre.cn/ cheap parada ...
Replies (1) 2 January 2008
http://www.shoesserver-yhnetsotre.cn/ cheap parada lv gucci nike a
price only 27usd
In order to greet the new year the arrival, company in new year grand
preferential policy:
1. The shopping ...
|
|
|
|
Interface + derived method (via Overloads) problem
Replies (5) 2 January 2008
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
...
|
|
|
|
IPC-Remoting: Threading issue in MDI-application
Replies (2) 2 January 2008
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 su...
|
|
|
|
Getting keypress when form is inactive (no focus)
Replies (6) 2 January 2008
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 appl...
|
|
|
|
Which VS template do I need
Replies (9) 2 January 2008
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 ...
|
|
|
|
Can I use LINQ to get to a VFP table?
Replies (4) 2 January 2008
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 VF...
|
|
|
|
WebBrowser ctl
Replies (1) 2 January 2008
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_Pa...
|
|
|
|
how to print .pdf and .doc files in vb.net
Replies (6) 2 January 2008
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 wit...
|
|
|
|
Cannot publish a VB app - signtool error
Replies (1) 2 January 2008
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: ...
|