|
The picture box will move automatically if you set the control to anchor.
eg. picturebox.anchor = Bottom
raj
|
|
|
|
|
Hello, I have a problem with this third party program. I installed the DevX program. Now this is the problem, that if a computer does not have this program installed than my program do not open because this third program isn't installed in that computer. How can i use my with the third program in it on another computer without installing the third program and that pc.
Can this thing happen pls?
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
|
|
|
|
|
Can anyone help me with with bringing up an IE window that prompts to first change the computername and second prompts for the username/password to join the domain?
|
|
|
|
|
Hi,
I have a question. How do you retrieve data from a textfile and have it displayed in VB. Net?
thanks for your help.
|
|
|
|
|
you can use IO.StreamReader(Server.MapPath("sms.txt")) to read ur text file.
or file open dialog box to open a file.
raj
|
|
|
|
|
Server.MapPath is only for a web environment. For a windows forms app you would need to know the whole path.
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
|
|
|
|
|
Hi,
Does anyone know how to format a floppy disc without using DOS or Windows format windows. I am looking for code to format a floppy.
|
|
|
|
|
|
This is driving me mad. I have been working on windows forms application for a while and suddenly straight out of the blue the visual style for the buttons stopped working. That is, they go back to looking like buttons in Windows 2000. All other controls that support visual styles seem to be working ok.
Does anyone know anything about how to fix this? The really wired thing is that when I tried to do a new form in the same project all works ok for a few compilations and then the buttons just go back to ugly mode again.
By the way I’m using .Net 1.1 and visual studio 2003.
Regards Johan
|
|
|
|
|
I just found the solution to the problem, here it is:
Just after calling Application.EnableVisualStyles() call Application.DoEvents()
Regards Johan
|
|
|
|
|
Hi,
I have a form where some selectioncriteria can be set. The form contains some comboboxes and also some datetimepicker's.
I want the following: when the form is loaded, I don't want any date to be shown in the datetimepicker's. Only when the user clicks the control, a date can be selected.
I tried:
dteFixDate.Value = Nothing , but this is not allowed.
dteFixDate.Text = "" , when the form is loaded, the current date shows in the control.
In fact, I want to use the values of the datetimepicker's in my SQL. So when no date is set (blank datetimepicker text), the date is not to be taken into account.
Does anyone know a way to do this. Or am I totally wrong in what I'm doing and is there an easier, cleaner way to obtain the result?
Thanks in advance,
|
|
|
|
|
I don't think you can set a DateTimePicker value to null/nothing/etc.
DateTimePickers have a .ShowCheckBox property which puts a checkbox next to the date. With the .Checked property set to false, the control is effectively disabled (but it still shows a date). As soon as the user selects a date, .Checked = True .
All you need to do is .ShowCheckBox = True and .Checked = False when you load the form. When you want to get the date just see if .Checked = True , indicating that the user has entered a date.
Hope that helps!
|
|
|
|
|
Hi ..
am very knew to VB
I have to design a software which can scan documents and enter its details in a Access Databse .
My problem is the scanning part ..
I want to know how can Twain_32.dll help or how to call this dll file ..
Although i have gone through many ocx files.. but they are paid ..
so i decided for going for the windows own twain utility
Any idea to to make use of it ..
Suraj jain
You mind is a weapon
Its onto you how to arm it .
|
|
|
|
|
Hi all
i have successfully managed to use dot net objects in perl, but i can't find out how to initialize a dot net object that takes an array as a parameter.
so basically the scenario would be:
--- PERL CODE ---
my($component) = Win32::OLE->new("componentTest.componentTestClass");
if (defined $component)
{
print "Created component object\n";
$component->initialize(@array);
# or even better a referenced array: \@array
my($result) = $component->main();
print "\nRESULT = " . $result;
}
else
{
print "COMPONENT NOT FOUND\n";
}
any ideas anyone?
il-gigi
|
|
|
|
|
the problem is
i have database that i stored it like 45145 this is number
when i use to pass this number into vb.net or from vb.net to console, some thing repeat at random time so that i can't define the problem where is when repeat it look like this number 445145
or 451145
please any one who can help send me
|
|
|
|
|
I would check that there is not some kind of interger overflow.
jhaga
It would be glorious to see mankind at leisure for once. It is nothing but work, work, work. I cannot easily buy a blank-book to write thoughts in; they are commonly ruled for dollars and cents. A[man], seeing me making a minute in the fields, took it for granted that I was calculating my wages. — business! - I think that there is nothing, not even crime, more opposed to poetry, to philosophy, ay, to life itself, than this incessant business.
Henry David Thoreau
|
|
|
|
|
Hi im using vb.net application to print data through dot matrix printer. what i need to do is once a printout is taken the paper should roll back to its starting position.
Is there any way in .net to handle such functionality of printer.
Im Using Epson Lx 300+ printer
----------
Pranjal
|
|
|
|
|
That is a function that should be built into the printer itself. Try looking up Tear Off in the manual to see how it works.
On my old LQ-850, I didn't have to do anything in code to use it, nor did I have to hit any buttons on the printer.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I wonder if anyone has an answer to this?
Do you need a crystal reports run time licence to run a crystal report via VB.Net. The problem I am having is that when I put a VB.Net system onto a user's PC, the crystal report does not get a display.
|
|
|
|
|
not display mean? did you get any error?
r u using .net crystal report or external crystal report?
Anyhow you need to install the crystal report dll's into clinet PC.
Around five dll will come make setup file to install.
raj
|
|
|
|
|
I get no error.
Everything seems to run with no problems, just no display.
I am using external crystal reports version 8.5. I thought I had installed the DLLs but it looks like I never.
Thanks for the help.
|
|
|
|
|
Pl. check ur coding, sure it will display or its throws error.
raj
|
|
|
|
|
How to change cell and row color in datagrid at runtime?
Suppose user will double click one row in datagrid I want to change the color of that row to RED so that User can track it later on. And if row color is RED then how to trace this particular row. Please help me out of this I tried a lot but didn't get any positive result.
Nish...
|
|
|
|
|
There is no direct way of doing this....
Chk this link. This isn't what you are looking for, but certainly it will give you an idea..
http:
|
|
|
|
|
Hi all
I’m a new junior developer at a certain company in South Africa and I’ve been given a task to debug someone else’s program .The program (is suppose to) connects to excel and send sms’s depending on what it find,
The problem is that the program is not working anymore it give a “Couldn't find installable ISAM” error.
Can anybody help out there as I’m still new at this company and I need to make an impression.
Here is a snipped off the code
'
Private dbsCellFile As Database
Private rstCellFile As Recordset
Private ol As Outlook.Application
Private olns As Outlook.NameSpace
Private InboxFldr As Outlook.MAPIFolder
Private msg As Outlook.MailItem
Private optTicked As OptionButton
Private Sub cmdSMS_Click(nIndex As Integer)
On Error GoTo ehSMS
Dim strXlFile As String, strSMSfile As String, strBillFile As String
Dim strCell As String, strMsg As String, strTemp As String
Dim fCellOK As Boolean
Dim strItem As String
Dim lngSmsCnt As Long
Dim lngHwnd As Long
Select Case nIndex
Case 0 'create sms file
MousePointer = vbHourglass
strXlFile = filSMS.Path & "\" & filSMS.FileName '"F:\downloads\avon\Cell.xls"
strSMSfile = "c:\sms.txt" '"c:\documents and settings\vdwelj\desktop\sms.txt"
strBillFile = "c:\SmsBilling.txt" '"c:\documents and settings\vdwelj\desktop\SmsBilling.txt"
Set dbsCellFile = OpenDatabase(strXlFile, False, False, "Excel 4.0;HDR=NO;")
Set rstCellFile = dbsCellFile.OpenRecordset("A1:B50000")
“Couldn't find installable ISAM” error.
|
|
|
|