|
--> what is ime mode? and why we use it..?
J A Nasir K
|
|
|
|
|
IME stands for "Input Method Editor". You'd normally only use this if you were writing an application for Korean, Japanese, or Chinese languages. This is because these languages have far more characters than can be represented on a normal keyboard. You can read more on it here[^].
|
|
|
|
|
--> suppose i want to use it so should i have the codecs for these languages on my pc..?
J A Nasir K
|
|
|
|
|
They are not codecs. But, yes, you have to have the languages and Input Method Editors installed on the machine.
|
|
|
|
|
Hi,
I have my own file format, which is registered in HKEY_CLASSES_ROOT.
When the user double-clicks on a file of my filetype, my program will start. But, is there any way to get the path of the file that opened my program, so i can load it?
Thanks in advance,
Zaegra
|
|
|
|
|
Zaegra wrote: I have my own file format, which is registered in HKEY_CLASSES_ROOT.
No, that's no t accurate. You have registered a file extension that's assigned to your .EXE.
Zaegra wrote: When the user double-clicks on a file of my filetype, my program will start. But, is there any way to get the path of the file that opened my program, so i can load it?
When a user double-clicks a file, the Shell will look up the extension under HKEY_CLASSES_ROOT and find the command line to use to launch the application. This is usually in the format some.exe "%1" . The %1 is replaced with the full path of the file that was double-clicked. So, if the user double-clicked, say, C:\my folder\some folder\some file.ext , the command line executed would be:
some.exe "C:\my folder\some folder\some file.ext"
The file path appears as a command line argument to the .EXE. I'm sure you know what a command-line argument is.
If you're using .NET 2.0 (Visual Studio 2005 or above), you can get at the command line arguments by using My.Application.CommandLineArgs .
|
|
|
|
|
Thanks for the good reply
--Zaegra--
|
|
|
|
|
Is there any way to lock a folder/file through VB.NET code.
|
|
|
|
|
If you hold a file open, then no-one else can use it. Folders, no.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I need a kind of password protection.
|
|
|
|
|
OK, then the answer is no. To do that, the best way I can see, is to replace the files and folders with files that are encrypted and are opened by double clicking on them via a custom file extension. There are commercial products that I believe do this, I don't see how else they could work.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Other than the method Christian mentioned, there's no way to do this without rewriting the NTFS File System. Youi cannot just assign a password to a file or folder like you see in the movies.
|
|
|
|
|
The movies..... lied ? *sob*
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Christian Graus wrote: The movies..... lied ? *sob*
Or did I just lie?? Hmmmm... I'll never tell! Muhahahahaaaaa
|
|
|
|
|
i am interfacing fuzzy logic toolbox with VB.
i have created an m-file
function [o]=rap(x,y)
fismat = readfis('C:\Matlab7\work\dmg.fis');
o = evalfis([x y],fismat)
i have created the dll file and i have got the library in VB-project-references.
now i want to call the following matlab command in VB code
p = readfis('dmg.fis');
evalfis([x y],p)
whether it can be done?,
if yes what will be the VB code?
plz give me quick reply
|
|
|
|
|
please try to use a sensible header.
Is this VB6 ? Is there no Matlab forum on the web ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
yes it is VB 6.0, i did'nt find anything related to my problem
|
|
|
|
|
OK sorry, I don't use VB6 and I am astounded that anyone still does. I hope you get your answer, but again, saying 'please get me quick reply' is rude, and won't help you.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
thanx christian,
i'll try to sort out in other way..
and sorry for saying "plz give..."
|
|
|
|
|
That's cool, I'm really trying to tell you how to get answers, not to just berate you.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi guys
my user have an excel sheet in which there are 2 columns ; one is username and second is salary
but my user want this report based on section which is stored some where in database with each user name .
how do i provide my user an interface so that he could generate report based on sections
?
thanks in advance
hello
|
|
|
|
|
ghumman63 wrote: but my user want this report
What report?? Is this "report" generating this Excel sheet you're talking about??
ghumman63 wrote: how do i provide my user an interface so that he could generate report based on sections
Sections?? What sections?? You're going to have to clarify what you're asking about. I have no idea what you're using or trying to accomplish.
|
|
|
|
|
Hello,
I find the way to get the MyDocument path in VS2005, VB.NET like that :
My.Computer.FileSystem.SpecialDirectories.MyDocuments
But I didn't find the way to get the All Users Shared Document path.
(in french "C:\Documents and Settings\All Users\Documents")
|
|
|
|
|
The whole My thing is just a bit of syntactic sugar, from the docs it seems it is incomplete. Probably AllUsersApplicationData is your best bet, then go up one and back down to the one you want.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
HI,
I HAVE A VB.NET APPLICATION, THERE IS A EXIT BUTTON IN MY FORM,ON CLICKING THAT I WILL SHOW A MESSAGE BOX , CHECK THE BELOW CODE
If MessageBox.Show("All the unsaved data will be lost! Are you sure you want to exit?", Me.Text, MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2, MessageBoxOptions.DefaultDesktopOnly) = DialogResult.Yes Then
--- SOME OPERATIONS --
END IF
THE PROBLEM is when i click YES OR NO, brings other open program into focus and hides this application
regards
winnie
|
|
|
|