|
hi guys
The problem im having is datagridview rowindex matches the binding dataset.table index, as long as I don't click on one of the column headers to change the datagridview sort order. can anyone help me getting rowindex to be the same no matter if i sort the DGV or not.
Thanks in advance
Robbo
-- modified at 3:31 Friday 1st June, 2007
|
|
|
|
|
Hi! All,
My Vb application is downloading files from a ftp site and while dowloading it hangs apparantly but it is dowloading the file in background. When I see in task manager it shows application 'not responding'. Please help me to come over this problem of application hang and tell me how to display status message (Which my application shows in normal status) in this condition when application is hang.
Looking forward for your co.operation.
Thanks and Regards,
Virendra
|
|
|
|
|
You need to download in another thread, so your UI remains responsive.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi Dave Kreskowiak,
i was trying to get the information to secure my file/folder by applying password .i was trying to get the links.But not found.if there exist no link then can u suggest me the books that i should read.
Thank you
|
|
|
|
|
I don't know of any way of applying a password to a file or folder. I know you can password protect a zip.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hello Christian Sir,
can i do this thing programatically.
Actually i need a start.Perhaps this may guide me to little proportion to reach the destination.
|
|
|
|
|
I am pretty sure you've not understood me. A zip file is a specific file format, and the zip format requires a program to open it. This file format supports passwords, so you can create a file which is password protected. Actually, I suspect some Office files may support this also. But, you can't create a .txt file and put a password on it, or put a password on the folder where you keep your porno. The file system does not support it.
As Windows doesn't support creating password protected zips, I am certain you need a third party library to do it in code.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Sir i wanted to know one thing.
What happens when i right click or double click(opens the file/folder) the file/folder , i get the options like open , delete ,
If i click the open option.
What is the background operation ?
I know it will then open the file .But What is the background operation ?
Can u explain?
|
|
|
|
|
It's going to look up the file association in the registry to figure out what program to open it with, and then pass the path to the file as an argument to that executable.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Sir, I need that registry path from where all these processings begin.
can u please provide?
|
|
|
|
|
Does google not work where you live ?
The file extensions are under HKEY_CLASSES_ROOT, look at it in regedit. Not surprisingly, it's a whole hive, not just a couple of keys, given that they handle every file extension that you can double click on, on your whole computer.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Are you thinking of redirecting that association to a security utility to supply the password support?
|
|
|
|
|
Is there a way in VB.Net 2005 Express Edition to get the version of windows? I know how to get like Windows NT 5.1 and all that but I want it to say like Windows XP Home Edition or Windows 2000 Server for example.
Thanks,
Adam
|
|
|
|
|
You can find everything you need with the System.Environment object.
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
|
hi all
im vb.net developer and a good experience of vb.net sqlserver2000 and ado.net
n-tier but i have not developed an acounting, point of sale and inventory
can any one help how find a free book or guide me and i also know accounts as a subject but i havnt developed a account related software
pls help
khurram saddique
|
|
|
|
|
Why are you developing one now ? I assume it's paid work, so why do you insist on relying on free resources ? If you're being paid, your client deserves that you look for the best resources, not the best free ones.
Having said that, your best resource is your client, they are the ones who have to provide you with the business rules they want to see followed. If they just want run of the mill accounting software, they should buy MYOB.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi Everyone:
I have created a data entry form that will allow the user to enter in new data. The form has a binding navigator control, a binding source control, four label controls, four text box controls and one command button.
The first objective I’m trying to accomplish is the scenario where the dataset is empty, and I want to add new information to the dataset.
When I open the form the binding navigator control’s move first, move previous, move next and move last buttons are disabled. Since the dataset is empty this is an expected result. The only enabled buttons on the binding navigator control are; Add New, Save to dataset and Update the database.
Now I am going to add a record. I type in the following record into the following text boxes:
Binding ID - blank <this data="" comes="" from="" the="" autoincrement="" of="" dataset="">
Ordinal – 1
Code – TST1
Name – Record 1
I click on the save to dataset button on the binding navigator control and the binding navigator position item on the navigator control says one, as well as the binding navigator count item. In other words it says I have 1 of 1 record in the dataset.
At this time I expect the move first, move previous, move next and move last buttons to be enabled. They still remain disabled.
Okay, maybe the navigation buttons need more than one record in the dataset. So I add this one:
Binding ID - <blank>
Ordinal – 2
Code – TST2
Name – Record 2
I click on the save to dataset button and I now have 1 of 2 records and the move next and move last buttons on the binding navigator control are enabled. If I click on either the Move Last or Move Next button on the Move Previous and Move Last buttons are enabled and the Move Next and Move Last Buttons are disabled.
Okay, now I’m going to check to see if both the records are present in the dataset. So I click on the Move Previous button and I get this:
Binding ID – 1
Ordinal – 2
Code - <blank>
Name - <blank>
If I press the move next button I get this:
Binding ID – 2
Ordinal – 2
Code – TST2
Name – Record 2
I should have both records in the dataset not just the last one. I also think the move next and move last buttons should be enabled when I added the first record into the dataset.
Does anyone know why this is happening?
Thanks,
Quecumber256
|
|
|
|
|
Lets say I created a new file type and want to assign an Icon to it.
and when I run my software on some one else's computer and create the same file on that computer, the software must automatically assign that Icon to that file type. Is there a way.
(Eg: before installing ms word all .doc files don't have an Icon but after installation all .doc files have an Icon assign to it(is there a way for us to imitate the same function))
I would really appreciate any help
thanx.
|
|
|
|
|
Hi,
Perhaps you have found this article by yourself already, but here it is anyway:
http://www.codeproject.com/useritems/VBFileAssociation.asp
Otherwise searching google with this subject will get you loads of info: vb.net file type association
Good luck,
Johan
My advice is free, and you may get what you paid for.
|
|
|
|
|
Is there a way to Refresh windows(Right Click on desktop and Click Refresh) using a vb code.
(I heard that you can do it from the regedit.exe; not sure if it's true or not)
Sorry for being extremely specific.
|
|
|
|
|
I think that only refreshs your desktop icons. What would you want to do this? I am guessing that you could send a windows message but I am not sure which one.
Ben
|
|
|
|
|
Yes we can do it,
Check this link... it shall be helpful.
http://support.microsoft.com/kb/256986/
pooja
|
|
|
|
|
You posted this to me, when you should have posted it to the original question. I checked your link and it only talks about the registery. It doesn't talk about the original question which is refreshing the desktop.
Ben
|
|
|
|
|
hello
i use httpwebrequest & httpwebresponse in this page
http://www.codeproject.com/cs/internet/httpeep.asp
i test this code in many site it work verrry good
but when i test this code with this site
https://isp.paltel.net/login.cfm
i have problem ???
please help me plzzzzzz
where the problem and how can solve this problem ????
---
the see this error message
--------------------------------------------------------------------
TrustFailure - The underlying connection was colsed : could not estabilsh trust relashionship for SSL/TLS secure channel
--------------------------------------------------------------------
Palestine
|
|
|
|