|
sreejith ss nair wrote:
Is it possible to give more idea in this doubt and your post.
Okay - this is really bugging me after so many posts. It's "question", not "doubt". Doubt is what you have when you don't believe something. A question is what you ask when you don't understand something.
I don't have any sample code to show you, nor do I have time to write any. Using the Office object model you can enumerate the objects in the document and there's plenty of documentation in the Office developer help files (don't bother checking MSDN - it has little to no documentation of the Office object model). You'll just have to read and discover for yourself like many of us regular responders here in this forum (and others) have done to learn.
Microsoft MVP, Visual C#
My Articles
|
|
|
|
|
hai there,
Any idea about backward compatibility ?
how can i develop n-tier application using dotnet template
Please feel free to contact.
Sreejith S S Nair - Bangalore
|
|
|
|
|
That makes no sense. What do you mean by "dotnet template"? There is no template. If you mean patterns, read about many different patterns in the MSDN Patterns and Practices[^] section, which contains information for n00bs to advanced developers.
If you want information on backward compatibility with assemblies (assembly versioning), then - as always - the information is all in the .NET Framework SDK. Read Configuring Applications[^], especially Specifying with Runtime Version to Use[^], Redirecting Assembly Versions[^], and Creating a Publisher Policy File[^].
Above, you must control your assembly versions. Do NOT use an asterisk in your AssemblyVersionAttribute , which is the default and can make you loose control very quickly.
You really must read about this stuff. IntelliSense won't help you and these concepts require a good understand that you can only gain from reading and (and experience with what you've read).
Microsoft MVP, Visual C#
My Articles
|
|
|
|
|
hai there,
Please give me very good and indepth idea about debug and trace class. material link if fine.
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
Please feel free to contact.
Sreejith S S Nair - Bangalore
|
|
|
|
|
sreejith ss nair wrote:
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
Read the documentation for the TraceSwitch and related content. It explains everything.
Microsoft MVP, Visual C#
My Articles
|
|
|
|
|
hai there,
Please give me very good and indepth idea about debug and trace class. material link if fine.
Please feel free to contact.
Sreejith S S Nair - Bangalore
|
|
|
|
|
|
fine & thanX
Please feel free to contact.
Sreejith S S Nair - Bangalore
|
|
|
|
|
:-Ohai there,
i want to create an localized application which will run on any culture.
to do this where i want to start ? any materials ?
Please feel free to contact.
Sreejith S S Nair - Bangalore
|
|
|
|
|
You nead to read up on Globalization and Localization (or Globalisation and Localisation - depending on which locale of English you are using )
Also, just to publicise my own work a little, I wrote an article giving a basic introduction to localisation on .NET. You can find it here[^]. It is for the Compact Framework, but everything is applicable to the full framework also.
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
The Second EuroCPian Event will be in Brussels on the 4th of September
Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!
My Blog
|
|
|
|
|
i didn't get your post.
Please feel free to contact.
Sreejith S S Nair - Bangalore
|
|
|
|
|
What do you mean? What didn't you get?
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
The Second EuroCPian Event will be in Brussels on the 4th of September
Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!
My Blog
|
|
|
|
|
your first paragraph. something about languages .....
Please feel free to contact.
Sreejith S S Nair - Bangalore
|
|
|
|
|
hai Mr.Mackay,
Do u have any idea about my post which just below to this.
heading > "Lisence"
Please feel free to contact.
Sreejith S S Nair - Bangalore
|
|
|
|
|
Sorry, but given the security requirements of a licence manager, I would seek to buy in a third party manager rather than attempt to make one myself.
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
The Second EuroCPian Event will be in Brussels on the 4th of September
Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!
My Blog
|
|
|
|
|
sreejith ss nair wrote:
your first paragraph. something about languages
The topics you need to look up in any searches are "Localization" and "Globalization", in the brackets I made a comment refering to the fact that these spellings are American-English, however in other English-speaking locations the correct spelling is "Localisation" and "Globalisation" (note the "z" is replaced with an "s"). It was a lame attempt at a joke. Obviously it wasn't very funny.
I hope that clears up the misunderstanding.
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
The Second EuroCPian Event will be in Brussels on the 4th of September
Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!
My Blog
|
|
|
|
|
hai Mr.Mackay,
Do u have any idea about my post which just below to this.
heading > "Lisence"
Please feel free to contact.
Sreejith S S Nair - Bangalore
|
|
|
|
|
:-Ohai there,
i developed one application which check lisence date and serial key from database insted of user name and password. now what i am doing is before starting application(on first time after installation). i will run a script that will insert serial key and lisence date into the database.
I want to input this much items through some user interface (like lisence agreement or installation progress) . this must show(interface ) on the time of installation.
Do you have any idea ?
provied no other third party installers except dotnet installer.
Please feel free to contact.
Sreejith S S Nair - Bangalore
|
|
|
|
|
There is no dotnet installer. VS.NET uses Windows Installer, which is used to install Microsoft Office, Microsoft Visual Studio, Microsoft .NET, our own products, and thousands of other products.
You can write custom actions and even custom user interfaces, though VS.NET will help you very little. If you want control, get a third-party Windows Installer developer environment like Wise for Windows Installer[^].
With VS.NET, all you could really do is add a new dialog (play around with the Installer projects in VS.NET or read about it - you'll never learn any other way).
You could then make a custom action bey extending the Installer class in the System.Configuration.Install namespace. Compile this into an assembly along with the ADO.NET code (preferably in a single assembly) and add it as a custom action in the Custom Actions panel of the Windows Installer project (use the menus to find it). Pass properties from the dialog you've added to the installer class as command-line switches (/SomeSwitch=[PropertyName] /SomeSwitch2=[PropertyName2], etc.) where PropertyName is the name of hte property you associated with the text box for the dialog you created.
In your Installer derivative class, you can get these using the Context property you inherit to get the Parameters property, which is a StringDictionary of command line switches and values.
You must read about this information to understand it. There's a lot to cover and I won't waste my time answer questions that are answered in the .NET Framework SDK about the classes I've mentioned. I'm telling you one way you could do this and giving you plenty of reference material.
Finally, another way you could accomplish this is to simply prompt for this information when the application is first run. Check a registry key you define (like HKEY_CURRENT_USER\Software\YourCompany\YourProduct\Init). If the key doesn't exist or isn't 1 (for example), then prompt for the information. After adding that information in whatever manner is appropriate, set that registry key to 1 (so the user won't be prompted again). This is a very common approach, an approach that even Microsoft Office has used since Office XP for activation (though it's not as simple as a single registry key; the concept is similar, however).
Some third-party .NET controls work this way as well, prompting for license information the first time the designer is invoked or something similar.
Microsoft MVP, Visual C#
My Articles
|
|
|
|
|
The bitmap constructor throws an InvalidArgumentException, if I try to create a bitmap like this:
Bitmap bitmap = new Bitmap(23622, 18897, System.Drawing.Imaging.Pixelformat.Format24bppRgb)
But this works:
Bitmap bitmap = new Bitmap(23622, 18897, System.Drawing.Imaging.Pixelformat.DontCare)
Can somebody please explain, what the problem is with Format24bppRGB ?
Best regards
-------------------------------------------
The light at the end of the tunnel has been switched off temporarily due to budget problems...
|
|
|
|
|
Pain,
It's the numerical values, they must be invalid for creating a 24bit bmp.
If you change them, say 1,1 then it works just fine.
Hope that helps
Kev Pearman MCP
|
|
|
|
|
The problem is that your image, at 23622 pixels wide and 18897 pixels high, and 24bpp, is about 1.3GB in size. If you don't have the memory to hold such a huge image, you'll get InvalidArgumentException's.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Dear CPians,
I want to hide RichtextBox's ScrollBar or set its width = 0, since I am scrolling the RichtextBox programetically in runtime using API methods (SetScrollPos , GetScrollPos , PostMessageA ).
How to achieve this?
Thanks in advance,
Regards,
Jay.
|
|
|
|
|
What about the RichTextBox.ScrollBars property!? MSDN[^] says "You can also use this property to remove scroll bars from the control to restrict scrolling the contents of the control."
|
|
|
|
|
This would not solve my purpose.
Actually I want to syncronise the scrolling of two RichTextBoxes ,
say RichTextBox1 and RichTextBox2
I am overriding WndProc method of RichTextBox1 and sending System.Windows.Forms.Message m to RichTextBox2 by raising an event and passing m.WParam , m.LParam .
If I set RichTextBox2.ScrollBars = None , the above would not work.
|
|
|
|