|
How can i check in a system how many only microsoft products are installed
regards
|
|
|
|
|
You might want to look around on MSDN or traverse through the registry (my late night, quick thought )...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Well, count all programs from Microsoft you know you installed: office, vstudio,expression studio, etc. Then count every single sub program of the OS.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
Hi,
I am getting some data from a database and populating it to a DataTable.
This Datatable is assigned as a DataSource to a DataGridView. This table gets displayed on the datagridview.
After that, i am adding a combobox column to DataGridView and filling the cells under that combobox with item selected.
I want to retreive the whole updated DataGridView along with the new column and values in the cell into a Datable object.
I am able to assign datagridview columns to a newly created datatable object and unable to do same for the datagridview rows.
Thanks in advance.
Praveen
|
|
|
|
|
Currently am using IMAPI for CD burning. I can perform multisession writes to CD. The problem comes when i add a folder with the same name that already exists in the CD. Suppose am having a folder named Test containing 1.docx in the CD. Now am trying to add anothe folder named Test with another doc file named 2.docx. I want the file 2.docx to be added under the earlier created folder containing document 1.docx. Is dat possible? Can anyone provide a sample code for that
|
|
|
|
|
no man why would you do such a thing.remmber what is inide does not matter.the folder name should have different names
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
how to correctly deploy crystal reports using c# envirronment
|
|
|
|
|
What kind of researching have you done on the topic?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
|
Hence you need to dedicate yourself to the 'C# environment', now.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
i am c#.net developer.i worked microsoft visual studeo 2005 express edition environment.i made report using crystal reports in visual studeo 2005 for my pos system project.it works only my computer.it not work other computers.i copy dll and install dotnet framwork but not work crital reports.please help me.give me more examples. thank you!
|
|
|
|
|
What all did you copy and install? Any of the CR stuff?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
dll files for crystal reports
|
|
|
|
|
Did you merely just copy the dll's or run them through an installer for the cr runtimes? You may not want to downvote someone helping you, that's kind of rude.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Install The frame work for CR. Hope this will work.
|
|
|
|
|
I am controlling the paint event of my Circle class but when I am resizing its size by clicking on one of it's handles the circle get drawn but i couldn't eliminate ghosting while it is drawn on the form. I have tried even setting DoubleBuffer=true but doesn't work.
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
Graphics g = e.Graphics;
Rectangle r = new Rectangle();
r.Size = this.Bounds.Size;
GraphicsPath ca = new GraphicsPath();
ca.AddEllipse(r);
Region region = new Region(ca);
this.Region = region;
g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
g.DrawEllipse(new Pen(Color.FromArgb(0, 0, 0)), r);
g.FillEllipse(Brushes.AntiqueWhite, r);
}
|
|
|
|
|
I haven't tested this, but you could try calling the Form's SuspendLayout () method at the beginning of OnPaint (), and calling the ResumeLayout () method at the end of OnPaint ().
|
|
|
|
|
Hi,
I am implementing a drag/drop system and am having trouble programmatically firing an event such that the control that receives the event remains focused.
For example, if you actually click on a button, and don't release the mouse button all MouseMove events are sent to that button even if you drag your cursor off the control. If you drag off to the left, the button continues to receive mouse events and the X is now negative. This is the desired behavior.
Currently I am firing the MouseDown event on a target control by having a member function that calls OnMouseDown() but this does not lock the focus as described above.
Can someone tell me how to lock the focus programmatically so all mouse events continue to be sent to the targeted control.
Thanks
-David
|
|
|
|
|
Hi,
you might be interested in Mouse.Capture()
|
|
|
|
|
I have a C++ Dll that returns the pointer to the start of an image in memory and it also returns the size of the image in memory, in C++ I use memcpy to copy it to a vairable, however I am new to C# and need to know how to copy the memory block to a jpg file.
|
|
|
|
|
use the Marshel Class to read write assgin all that is needed to and out of a memory block
do not forget u're in manged coding!!!!!
Here is a good Red MSDN[^]
Have Fun
Never forget it
|
|
|
|
|
Hi
I have an app I wrote with VS2003, in c#. In it I have a simple form that has a few buttons on it. As the user uses the app, there is a logical flow of events, so that different buttons are enabled at different times.
What I would like to do is assign the space bar on the keyboard to diferent buttons at different times, so that the user can just keep using that instead of the mouse.
I could not find any way to do this for a form button - only for a menu item. Anyone know how?
|
|
|
|
|
Hi,
AFAIK there is no direct way to link a shortcut to a button.
What you can do is this:
- set Form.KeyPreview true;
- give the Form a KeyDown or KeyPress handler, where you check for space, and decide if and
which button is to be clicked, then do a Button.PerformClick().
|
|
|
|
|
You will have to write some code inside the KeyDown event of the form, and take the required action when the space key is pressed. The form's KeyPreview property must be set to true to get the KeyDown events even the focus is on any child control.
You can check my blog post for an example of handling this event for creating various shortcut keys.
http://www.nirandas.com/blog/index.php/ways-to-set-short-cut-keys-for-controls-on-a-windows-forms-net-application/[^]
Remember! if the focus is on a text field, users will not be able to type a space if it is used for triggering any other action.
|
|
|
|
|
Hey, I have been desperately trying to save and load an image from xml. My latest attempt resulted in me getting encoding issues.
This is how I load from xml
ProfileImageData = mT.FirstChild.Value;<br />
byte[] content = UTF8Encoding.UTF8.GetBytes(ProfileImageData);<br />
MemoryStream stream = new MemoryStream(content);<br />
ProfileImage = new Bitmap(stream);
This is how i save to xml
<br />
MemoryStream stream = new MemoryStream();<br />
Image.Save(stream, System.Drawing.Imaging.ImageFormat.Bmp);<br />
Byte[] dat = stream.ToArray();<br />
<br />
XmlCDataSection mImageData = mRoot.OwnerDocument.CreateCDataSection(<br />
System.Text.UTF8Encoding.UTF8.GetString(dat, 0, dat.Length));
Any hints, tips, anything on how I could get this to work?
|
|
|
|