|
hi,
I want localization for Hindi and marathi language.For that i have created resources files.And give appropriate values for the labels.
But i cant get values for marathi fornt.i have created resource file of marathi like this LocalizationSample.mr-IN.resx.
Where i go wrong.Wheather i required some special fonts?
|
|
|
|
|
In the form property there should be a property called "Localizable" (IIRC). Set the property to true and change the Language property to whichever language that you target, then start to fill in the label with appropriate text in that language. It will generate different resource files for each language. Be aware that the location of the controls will be "localized" together with the text, though.
You will have to set the thread's culture info to Italian, for instance, during application startup, and you may not switch the cultureinfo after you have set it (Not sure if this still the case in .NET 2.0+).
You may need to do some extra work for localization still, for instance datagridview's header text, or message box text.
Localization Walk Thru[^]
I don't use this method for localization, though
|
|
|
|
|
Hi,
Am working with windows application(C#).I've got many images in a form.If i minimize or maximize that form,the form is not properly loaded.The screen at the background of the that form is visible partly. What should i do?Is it due to loading of many images in that form?Or is there any other reason?Any help is much appreciated.
Regards,
Priya
|
|
|
|
|
Hard to say, but I'd guess it's to do with how you load and display your images.
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 )
|
|
|
|
|
hey every one...i have a prob.....i am making a program which will generate an exe...i want when i run my program....it should make a text file which is not a problem and one exe file...which is some other program that i built......not the same as the program from which im making this exe....what should i do for that??? i just had a random idea in my mind...i though every file is a file...why not try like text file..so i changed the extension of the exe(that i want to generate by running other one i.e. exe that i want to produce) in txt...then copied that into fputs("all the converted file contents here", outfile)....then tried to run...changed all escape seqence and all( like " changed to \" )...but didn't work as i expected....i knw its a very lame idea.... ...can someone tell me how to do this....any idea guys??/
there are 10 type of people in the world...
01 who understand binary.
10 who don't...
|
|
|
|
|
What is the generated exe file supposed to do? If you have source code written in Vb.Net or C# you can compile it during runtime and generate executable file. Here is an example: Compiling source file dynamically[^]
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
my code is in c++........
someone told me include that executable which you want to make to be created as resource and extract it at runtime...don't understand what is this....plz tell me....also if you knw how to compile at runtime in c++ then tell me...
there are 10 type of people in the world...
01 who understand binary.
10 who don't...
|
|
|
|
|
|
Hi,
I want to know if there is any event to know if the print button on the report viewer toolbar is clicked. I want to do some database updations only if the report is printed.
The alternative is to not use the toolbar button and do the printing on some button click on the form. But i dont want to do that.
Please reply if anyone know anything abt this.
-Abhijeet
|
|
|
|
|
If i send a file with a size about 4-6 kilobyte, the file is received on the other side, but if i send the file with file size about 32 r larger size, the client or the server on the other side does not receives it. Is there a good way to send large files through sockets using network stream ?
|
|
|
|
|
Did you look at the Read/Write methods of the NetworkStream class? You need to know how many bytes you wrote on the stream and read that back. It's simple like that.
|
|
|
|
|
Okay buddy, i have done it by making chunks of 4000 bytes of the whole file. Its easy and fast. Anyway, thanks a lot for your interest.
|
|
|
|
|
Hi all,
i have one problem , mine is windows application (c#.net),we are using backend msaccess ,what i want to tell is in my application one link is there i.e backup, how to write code for that , give me any idea plz
Thanks & Regards
sarp
sarp
|
|
|
|
|
Can you clarify on what exactly you need?
Vinay
ComponentOne LLC.
www.componentone.com
|
|
|
|
|
Look at using COM Interop to run a backup command. It's always easiest to record a macro in Access performing the required task, then convert to VBA, then look at the code and try to see how to achieve the same thing with the Access COM objects.
Pits fall into Chuck Norris.
|
|
|
|
|
I note when people who help get a 1, my 5 averages to 4.6 or so, meaning a lot of the 1 voters are new members.
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 )
|
|
|
|
|
Thank you.
Pits fall into Chuck Norris.
|
|
|
|
|
I think Chris must have implemented a value system - excellent .
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
It's been that way for ages. As the top poster, I know that I can always exert at least equal influence to any 1 vote I disagree with, and almost always quite a bit more.
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 created a dll....that uses the function..
headerfile
#ifndef _DLL_H_
#define _DLL_H_
#if BUILDING_DLL
# define DLLIMPORT __declspec (dllexport)
#else /* Not BUILDING_DLL */
# define DLLIMPORT __declspec (dllimport)
#endif /* Not BUILDING_DLL */
DLLIMPORT LRESULT CALLBACK KeyboardProc(int nCode, WPARAM wParam, LPARAM lParam);
#endif /* _DLL_H_ */
cpp file
/* Replace "dll.h" with the name of your header */
#include "key.h"
#include <windows.h>
DLLIMPORT LRESULT CALLBACK KeyboardProc(int nCode, WPARAM wParam, LPARAM lParam)
{
//some code here.....
}
BOOL APIENTRY DllMain (HINSTANCE hInst /* Library instance handle. */ ,
DWORD reason /* Reason this function is being called. */ ,
LPVOID reserved /* Not used. */ )
{
switch (reason)
{
case DLL_PROCESS_ATTACH:
MessageBox( NULL,"Test working","cool",MB_OK | MB_ICONINFORMATION);
break;
case DLL_PROCESS_DETACH:
break;
case DLL_THREAD_ATTACH:
break;
case DLL_THREAD_DETACH:
break;
}
/* Returns TRUE on success, FALSE on failure */
return TRUE;
}
when im compiling this dll with Dev-C++ compiler..im getting error....
my compiler log is:
Compiler: Default compiler
Building Makefile: "D:\devcpp project\keylogger\testlogger\sysproc\Makefile.win"
Executing make...
make.exe -f "D:\devcpp project\keylogger\testlogger\sysproc\Makefile.win" all
g++.exe -c dllmain.cpp -o dllmain.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -DBUILDING_DLL=1
In file included from dllmain.cpp:2:
key.h:10: error: `LRESULT' does not name a type
make.exe: *** [dllmain.o] Error 1
Execution terminated
can someone please help me what im doing wrong...what im able to understand is that it is not able to get the declaration for LRESULT......
how to correc that.....
thanx in advance...dudes
|
|
|
|
|
Member 4449040 wrote: can someone please help me what im doing wrong
ASking here instead of the c++ forum. Windows Forms is plainly nothing to do with dlls, but it's actually the framework for windows apps in .NET
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 have a infragistics Cardview enabled WinGrid with 2 column. First column is having the column headers and second column is having the value for the first column. I want to Preview the data in the grid. For that I've used UltraPrintPreviewDialog control (Infragistics Control). Preview is generating for the grid, But the column alignment is changing (It first displays all the data in the first column and then the data in the second column). I want preview with First column data and then second column data in each row. How to get like this..? Can any one help me pls....
|
|
|
|
|
Hi, I have a Windows Forms application that was working just fine. Then I moved 2 controls on the form a few pixels and changed the size of the form. After that I got the following errors:
error C2039: 'Dispose' : is not a member of 'System::ComponentModel::IContainer'
error C2039: 'CurrentThread' : is not a member of 'System::Threading::Thread'
and 2 more errors that were caused by the above. Does anyone have an idea how to fix this?
|
|
|
|
|
Cleaning the solution solved the problem.
|
|
|
|
|
Hi everyone.. does anyone have an idea how to add new properties to standard controls like textbox.
thanks.
Software Developer
|
|
|
|