|
Hi there,
When I have thrown nil-Exceptions with the MOF then any iteration requested is about empty data.
Struct
Real
Nil -> repeated
Dave
|
|
|
|
|
Hi,
I need to create an executable in c# which unchecks the "Automatically Detect Settings" checkbox in Internet Explorer Options, LAN Settngs.
Any Help?
Thanks
|
|
|
|
|
hi all,
i'm sending mails by using smtp server ,code is executing but the mails are not going and that mails are there in mail queue and bad mail in mailroot folder .
can any one tell me what is the problem ....
thanks ,
CSN
|
|
|
|
|
Hi
I have a winform control which has a text box with certain text in it. I save this and export this on a .aspx page the text size increases. How can i get a consistent text size in both the winform and the aspx page?
Thanks and regards ananth
modified on Wednesday, May 14, 2008 8:01 AM
|
|
|
|
|
By setting the font size in the aspx and praying that the user has the same overall font size set as you do.
You cannot guarentee it.
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
he he thanks grauss but the default font size of the text box is 8.25. I would like to change the font size could u plz tell me how this is done... and also i would like to avoid the decimal part i.e when a user specifies the font size i do not want him to selct 9.3 etc or how can i round the decimal part?? Hop i did not confuse u..
Thanks and regards
ananth
|
|
|
|
|
Hi,
Currently i'm working with corel design . I want to consume corel dll into my application and i want to use corel dll methods. If anyone has knowledge on this please help me.
Thanks in advance.
Sekhar Reddy
|
|
|
|
|
If it's not a COM dll, you can use p/invoke to call it's methods.
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 )
|
|
|
|
|
Thanks christian. Can you explain clearly what are the steps we need to follow to invoke the dll and it's methods.
Thanks and Regards,
Sekhar Reddy
|
|
|
|
|
www.pinvoke.net shows how to do it for win32 API stuff, you write code that imports the method from the dll and then call that from C#
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 )
|
|
|
|
|
Thanks christian i will try with this.
~ Raja Baireddy
|
|
|
|
|
HI All,
I am using VS03 + c# + Winforms.
In my application , if i select English language then all the lables of the forms should be in english.
If i check language as italian then all the labels should be in italian.
Or i can check any name of language.
So i want the multiple language support for my application.
HOw can i do this?
Procedure in c# Is appriciated.
Thanks in advance.
|
|
|
|
|
Build string tables representing the same strings in your different languages. Then read the right value based on the selected values, for all strings shown in your program.
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 ,
Thanks for the reply.
As per your suggestion i have to store the values of the lable in a table.
This is fisible only for one form.
But in my application ,i have to use this localization to whole project.
ie.When i select Spanish language then all the labels from the application should change in spanish.So how can i achieve this?
|
|
|
|
|
Well, you can do it how I said, or you can try black magic.
I have localised entire applications this way, this is how it is done.
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 )
|
|
|
|
|
AS per your suggestion if i store the values of labels in databse.And i have to check for every page in application that which language is choose.
So the load of application is increased.Also i have to write lot of code for different languages.
Is there any alterrnative?
Can you give me detailed procedure how you localize the project.
|
|
|
|
|
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
|
|
|
|