|
I'm pretty sure that Windows nowadays works pretty hard against people writing viruses.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Lol! I'm NOT making a virus
It is a serious question for a serious program.
|
|
|
|
|
No, but the functionality you want is "virus-like".
Windows, actually the Explorer Shell, doesn't expose a method to tell you which file(s) is(are) selected.
|
|
|
|
|
In datagridview if I press tab key the focus move to next cell. Like that I want to move to focus to previous cell by pressing shift+tab key. What i want is how can i achive this through programm. for moving to next cell I am using sendkey(tab) commnad. but if i give sendkey(shift+tab) error is generated. please tell how to combine different key combinations in the datagridview (ex) shift+tab or control+home or control+end
|
|
|
|
|
try
Sendkeys.Send("{+Tab}")
Salman Sheikh
|
|
|
|
|
I have an option of uploading image files in my website.But after uploading I am facing a problem.Whenever I try to upload an image,it asks me for the FTP username and password.What is the solution to this problem?
ARINDAM
|
|
|
|
|
How are you expecting to upload images ? Sounds like you're trying to use FTP.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Not actually.I am just trying to upload an image using the fileupload control of asp .net 2.0.Can you tell me if my problem is something related to identity impersonation?
ARINDAM
|
|
|
|
|
Ah - you cross posted, that's why I answered this twice.
If you're using the file upload control, then I've never seen that before. Please continue discussion in the correct forum ( ASP.NET ).
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
I am developing some application using the datagridview control. Inwhich if I press the enter key in any cell the focus move to next row.but I want the focus should move to next cell just like pressing the tab key. How can i solve the problem. Please help
|
|
|
|
|
make the class below.run the program and add the control to your project.
Public Class MyDataGridView
Inherits DataGridView
Protected Overrides Sub OnKeyDown(ByVal e As System.Windows.Forms.KeyEventArgs)
If e.KeyCode = Keys.Enter Then
Dim j As New System.Windows.Forms.KeyEventArgs(Keys.Tab)
MyBase.OnKeyDown(j)
Else
MyBase.OnKeyDown(e)
End If
End Sub
End Class
A.E.K
|
|
|
|
|
Hi,
I have a problem which I cannot resolve for days now and really hope someone can shed light on it.
I am using vb.net and import a function from C that contains a callback. This C function requires that I pass a pointer to a structure in VB.NET. In VBA I get it working by passing the pointer via varptr(MyStructure) but I cannot find a way in VB.NET and I am porting my application to vb.net. I use the example you have provided in the article
Dim gh As GCHandle = GCHandle.Alloc(MyStructure, GCHandleType.Pinned)
Dim p_MyStructure As IntPtr = gh.AddrOfPinnedObject()
But get following message:
‘Object contains non-primitive or non-blittable data’ since mystructure is very complex and contains objects and classes.
Any idea what I could do?
One workaround I found is to copy the structure to another pointer and work with the copy:
Dim p_xcurvevalues As IntPtr = gh.AddrOfPinnedObject()
Marshal.StructureToPtr(xCurveValues, p_xCurveValues, False)
but this makes subsequent programming problematical and i would like to avoid that.
Thanks and regards
|
|
|
|
|
We'd have to see the function header for the function you're calling, the Declare statement in VB.NET and the structure definition, including any attributes used.
|
|
|
|
|
hi Everyone,
there r language specific problem. In my application i have Two text box related to English & Turkish language .
i enter "Transportation /Traveling" in textbox related to english and "Ulaşım / Seyahat" in textbox related to Turkish(which is english equivalent of Transportation /Traveling) .and save in databse. but when i get back this value from database then it show "Ulaşım / Seyahat" for "Transportation /Traveling".
i enter many word but when i get back then it is not in proper form.
can anybody have idea(or link) that how can i solve this problem ?
any help will be greatly appreciated.
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
I think that the db doesn't know how to save the special characters of the turkish language
if the db is located on a server check if that server has the right language packs installed
also check the db settings maybe there is something there about language
If my help was helpfull let me know, if not let me know why.
The only way we learn is by making mistaks.
|
|
|
|
|
hi tom,
r there r any method from which i can get proper result without changing database settings?
have any idea about encoding(unicode,utf-8).
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
without changing db settings encoding would probably be the only way to go so I would do some testing with it to see how good it works
If my help was helpfull let me know, if not let me know why.
The only way we learn is by making mistaks.
|
|
|
|
|
Is it possible to programmatically highlight a column in a DataGridView that I have right-clicked on (to display a ContextMenu)?
The column headers have been hidden from the user.
|
|
|
|
|
Have a look at this article
You always pass failure on the way to success.
|
|
|
|
|
i have a problem that i cant figure out.... i am busy writing a project, simple... objective is to get my code to disable explorer.exe after a certain period of time (or at the date i set it to), then explorer.exe should close in the task manager and the task manager should be locked, and then i wanna incorporate a authentication code of sorts to unlock the task manager and open explorer.exe again...
any help on this topic would very much be appreciated.
steven
|
|
|
|
|
I think you'd better specify why you want this to happen since at the moment it looks like you are writing some sort of virus or code that will harm a computer and nobody here will help you do that
If my help was helpfull let me know, if not let me know why.
The only way we learn is by making mistaks.
|
|
|
|
|
i have table contains photo
i anyone have a tool to extract all images from this table to a folder on my pc
pleaze help me
or
i anyone have the name space Oracle.DataAccess.dll can send it
thanks for all
|
|
|
|
|
|
Hi,
I am Using VB.NEt 2003 and MS Access 2003 for my Project. In My Access database there are 7 tables and capacity 400kb. But when i am executeing program the database capacity is increasing significantly. My initial database capacity is 400kb. But After executing 50 times it increased to 4.5 MB. Sometimes after executing 100 times it increased up to 123MB. In my database, only 2 tables are updated while executing the program. When executing the program, 60 and 30 data records are inserted to the above 2 tables. But every inserting time, previous data record sets are deleted.
Please can anybody help me?
Dimuthu
|
|
|
|
|
The answer is simple - you need to compact the database.
Whenever records are deleted from an Access database the space those records take up is not freed up.
So if you keep adding and deleting records your database will keep growing until you compact it.
The only way to retrieve free space from the database is by compacting it.
You always pass failure on the way to success.
|
|
|
|