|
Hello everyone!
I am getting some problems with my application.
The problem is that after developing the setup of my application I have installed it to two different computers. One is using Windows XP and other uses Windows 98 as Operating system. My application works perfectly on a system having windows xp, but with system having windows 98 it gives error when my user try to print a text file. The error message says:
Object reference is not set to the instance of the object
Also the details shows that there are some problems in Print Preview control's page information.
Can anyone figure out what's the problem is?
I am confused with this problem.
I have checked many times but its working fine only in Windows XP or 2000 or higher that 98.
Can anyone help me?
Waiting for any reply.
Thanx in advance.
|
|
|
|
|
I want to generate the keys for my software in VB.NET . I have to go according to this..
1. Each key is of 16 character length.
2. The last 2 digits are supposed to represent the version of the software; besides this it has no other significance.
3. The 16-character key is divided in 2 digit pairs as shown below –
AA BB CC DD EE FF GG 10
• String concatenation of AA and DD should be divisible by 49
• String concatenation of BB and EE should be divisible by 53
• String concatenation of CC and FF should be divisible by 59
• String concatenation of EE and GG should be divisible by 67
Will anyone tell me how to generate the keys ..
If u help me with code , It will be great as i need it urgently
REgards
Miss Rajender
|
|
|
|
|
I am having a problem copying a file to a remote location using .copyfile . My coding works fine when the destination is a local path, but when using the same coding for a remote location it doesn't work. I have tried using fs.copyfile "C:\Documents and Settings\Administrator\My Documents\data.file", "C:\Documents and Settings\Administrator\NetHood\mypath.net\public_html\data.file" as well as fs.copyfile "C:\Documents and Settings\Administrator\My Documents\data.file", "ftp://username:password@mypath.net\public_html\data.file" neither of which has worked.
Does anybody know how to do this?
David Goodman
President
Diverse Computing
~He who laughs last, thinks slowest~
|
|
|
|
|
If the destination is another Windows machine that you LOCAL account has rights to, then it should be "\\machinename\sharename\dirpath\dirpath\filename"
You have to make sure that the account your using has both the appropriate Share rights and NTFS rights to the target share and directory.
RageInTheMachine9532
|
|
|
|
|
|
Well, in that case you're either going to have to use 3rd party tools/controls to connect to the linux box or use FTP client built into the Microsoft Internet Controls COM object (add a reference to it in your project) to copy the file to the linux box. Just specifying an ftp:// address in the copyfile method won't work.
EDIT:
I almost forgot. Most Linux implementation include a Windows server emulation package called Samba. This service will make the linux machine appear and behave just like a Windows machine's shares do.
RageInTheMachine9532
|
|
|
|
|
Hi All,
How to verify whether the SQL username and password are valid and have the previledge to create the database.
Regards,
A.Ilamparithi.
|
|
|
|
|
Confucious say,
"Best way to see if it can be done is to do it".
|
|
|
|
|
How can i possibly add an event to a control that has been created during run time?
For example:
Dim pb As New PictureBox<br />
Me.Controls.Add(pb)
I would like to add MouseDown & MouseMove events to the PictureBox.
***************************
Toola
"The real risk is doing nothing"
-Denis Waitley
|
|
|
|
|
use Dim WithEvents pb as PictureBox (vb6)
|
|
|
|
|
I need to store a TimeSpan value on the harddisk when the application exits, and then when it loads, read the value and convert it back to TimeSpan data type. Having tryed several methods I'm stumped. I was using StreamWriter and writing it as a single string and then tryed it as three seperate strings for hours, minutes, seconds. Then reading each string seperately, converting to Integer and setting the TimeSpan values from the Integers. no luck though.
Thanx in advance
|
|
|
|
|
If you write the value as a String to the file, you can read it back an use something like this to get it back into a TimeSpan object:
Dim newTS As New TimeSpan
Dim fileValue As String
' read the TimeSpan from the file and put it in fileValue.
newTS = TimeSpan.Parse( fileValue )
RageInTheMachine9532
|
|
|
|
|
Is it possible to control Taskbar's properties, such as Autohide and Always On Top directly using SHAppBarMessage function? Please help.
|
|
|
|
|
Please can you tell me which is the best book for starting learn Basic.Net
|
|
|
|
|
speaking as a self taught (or rather self teaching) vb.net programmer learning to program from a book with no prior programming experience(i'm assuming you have none) is quite difficult. and no one book is going to get you up and coding. rather be prepared to buy several books before you even start to code some reasonable applications. i don't mean to put you off. coding is great fun as anyone here will tell you . just saying be prepared for lots of frustration .
anyways, for a gentle intro to anything i've always found the "Sam's Teach yourself..." series to be brilliant. try "Sams teach yourself Visual Basic.Net in 24 Hours" or "... in 21 days" You could then try moving onto "Even more VB.net" in the same series or search for something a bit more complicated. One you find a place to start and learn a bit you get to know what you want to know how to do and the technical names for it and find books more about that.
Good luck
|
|
|
|
|
Get "Programming Visual Basic.NET for Dummies" mate. This book assumes you do not know anything. And teaches you like a dummy. You'll be surprised what you learn within a short space of time. To be honest with you, you will also need a great deal of time input. But it's fun.
I am also teaching myself VB.NET, I began from scratch, and have not gone too far either, but I am somewhere. I will be happy to help, that will give me some bit of home wofk as well. It's only unfortunate, until end of may I will be putting all my time in my other course that I am sitting exams for. But Keep in touch mate.
Benson
dubeben2002@yahoo.co.uk;)
|
|
|
|
|
|
Hi all,
I am a newbie to C# and currently doing an assignment using C# about invoice application. Can any one show me how i can perform a calculation on a specific column in the datagrid. Then post the total to a textbox outside the datagrid.
I am very appreciate for you help.
|
|
|
|
|
One way is to use the ItemDataBound() event. This gets called once for every row on the datagrid while it is being bound. You can then access the contents of the row like this:
e.Item.Cells(indexOfCell).Text
You will have to cast the correct type but you can either change the values of the cell based on a calculation, or you can add up all the cells using a global variable.
hope this helps,
sivlian
|
|
|
|
|
Hi all
i need code to analyze given wav file and provide data that can be used to identify the speaker.
ot in other words
Speaker identification Module in VB.net/VB/ or any simple code that can be converted to VB.NET
regards
|
|
|
|
|
Good luck... What you're looking for is hardly trivial with most implementations to be found in C++. There are no "drop-in" components that I can find.
Search the web for "Speaker dependent recognition" and you'll come up with a bunch of research projects and articles, using various API's and libraries, to write your own implementation.
RageInTheMachine9532
|
|
|
|
|
Hi all
i need a code in either VB/VB.NET to change format of exhisting wav file to 22.050khz /16 bit mono.
And to concate two or more two wav files.
Is their any class/namespace in VB.NET to work with such things
|
|
|
|
|
Hi,
I want to make a search program (for comparision statement) where my table structure is like.
table1
slno number
prod_code1 char(20)
prod_desc char(100)
price number
prod_code2 char(20)
prod_code3 char(20)
prod_code4 char(20)
now I want a screen to display all the field with blank initially for search from the table. when the user fills any one field or two fields or three, with exact value of the field in table or some value like prod_code2 is having a value in table like 'ZM/1764/152/137' now the user can enter exactly the same value or the user can enter value like 'ZM' or '1764' or '1764/152',,, the result should be shown in a flex grid form with all the columns of that row, so that the user will take the value he want .
I want the program with table security facility (i.e., no modifications to the table from backend), and as a standalone program so that it can be stored on to a cd and to distribute to my field staff.
Pl. help me with a better solution code design.
Thanx,
Raju.
|
|
|
|
|
hi
i 've a problem related to combobox. Actually i m not able to retrieve the values from database in a combo. how can I get the field values in a combobox in VB? I am using Sql Server.
thanx
kunjal
|
|
|
|
|
kujal u can forget combobox and instead that u can use data combobox u can add this by project components microdatalistcontrols 6.0
and create connection and reord set object it has bound column listfield and rowsouce properties
i am giving you an example we have emp_mas table
so our emp_id is bound column and what we fill in combo is list field and our row source is recordset name this wil fil the data in data combobox
Set objCon = New ADODB.Connection 'creating a new connection object
Set objrsData = New ADODB.Recordset 'creating a new recordset object to fill the names of employees in the data combo box
objCon.Open ("Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa; pwd=sajv3;Initial Catalog=pubs;Data Source=rs")
objrsData.Open "select emp_id,emp_fname from emp_mas order by emp_fname", objCon, adOpenStatic, adLockReadOnly
Set dcmbData.RowSource = objrsData
dcmbData.ListField = "emp_fname"
dcmbData.BoundColumn = "emp_id"
vikrant
|
|
|
|