Lukasz Pietrzak's Q&A profile
Visual C# Compiler Warning CS0467
In the following, I get a compiler warning (with VS2005 Beta 2, but not VS2003) on the Close() call. I'm using a reference to Microsoft Word 9.0 Object Library. Word. ApplicationClass WordApp = new Word. ApplicationClass (); object missing = System.Reflection. Missing .Value; Word. Document aDoc = WordApp.Documents.Add( ref missing, ref missing, ref missing, ref missing); aDoc.Close( ref missing, ref missing, ref missin ...Show All
SQL Server NEED HELP - Merge Replication with SQL Server 2000
Hi, I posted about this before, and set out on my own to get this working, and haven't been able to. I'm trying to get merge replication working with my SQL server 2000, and after 2 weeks I still have nothing. I've gone through multiple 'walkthroughs' which all brought me to the same point. I'm getting down to crunch time, and I'm either going to use this or implement my own merge algorigthm (I'd much rather use this). So ...Show All
Smart Device Development How can i get my application Miscrosoft Signed/Branded
In Symbian dev applications can be Symbian signed. A quality mark for our custommers. develloping some of of our application for Windows targets. We are searching for a way to say our sustommer look this pplication is Microsoft signed. Any link ou submit website is welcome. Hi, If you have any software of hardware that can run with Microsoft Windows you can get Design for Windows Logo that will be very useful ...Show All
.NET Development how to format xml string with an xsl stylesheet
Hi, I have a string that is in an xml format <items><num>5</num><text>sometext</text></items> I want to transform that string somewhow using my xsl document listed below and attach it to the body of an email. I was trying to use the code below but the xmldocument load does not take a string. How can i go about accomplishing this. XmlDocument docXml = new XmlDocument(); docXml.Load(sb.ToString()); X ...Show All
Visual Basic Need help to make my form and its controls to fit desktop resolution
Hi, i have a main form with some buttons and a datagridview. The buttons and the datagridview control is placed in a toolstripcontainer.contentpanel which fills the form. I'm having some trouble with my form not showing up properly when running my application in a different resolution than I created it in the first place. The thing is im using the following code to set the mainform's size to fill the area of the screen, except the are ...Show All
.NET Development .NET Remoting Bug - fixed in 1.0 SP3?
All, Can anyone tell me whether the bug mentioned at http://support.microsoft.com/default.aspx scid=kb;en-us;322975 was fixed in the .NET Framework 1.0 SP3 Thanks Matthew ...Show All
Smart Device Development How about cell broadcast in magneto?
I can't find any infomation about cell broadcast in WM50. Does anyone know where can i find it You'll find in sms.h that the lowest two bytes (0x0207) stand for SMS_E_MOBILEUNSUPPORTED. I have the same on my Palm Treo 750, but I know to receive SMS or CellBroadcast is true. As suggested on http://teksoftco.com/forum/viewtopic.php p=784 , we might need to call sth like RIL_ SmsSetBroadcastMsgRanges afterwards. Let's see. ...Show All
Windows Forms Anybody using a Windows Forms Combobox in IE successfully?
I have a windows forms control combobox hosted in IE. The drop down portion of the combo works correctly when the control has focus; however, if the focus is anywhere else on the page and I click on the combo control to drop it down,& ...Show All
Visual Studio Express Editions vc++ Express side by side install with vs2005?
I'm considering upgrading to vs2005 and have a couple of questions. I'm asking here because, after reading the various pages on msdn on the subject and searching these boards and the web, I have not found a satisfactory answer to my questions. Firstly, I would like to know if there is a vs2005 pro academic version or if the standard version of vs2005 is the only academic version that will be made available. Secondly and perhaps more importantly, ...Show All
Windows Forms unload me
in vb6 we have this function unload me however in .net i can't seem to find it so how do we unload a form here in .net not close but unload NOT THIS ONE (e.g.) me.close me.dispose application.exit i'm looking for the convertion of that unload me&n ...Show All
Windows Forms using String.Split()
Hi i am trying to implement a way to sort out csv files. eg Shark Attacker,Adventure,DVD Whistler,Sports,DVD Do currentLine = objReader.ReadLine   ...Show All
Visual C# Custom TCP Packet
Somebody plz let me know how to create and send a custom TCP and IP Header over the network using C#. i tried RAW sockets but the SetsocketOption() is generating an Exception. Hello sock = new Socket(AddressFamily.InterNetwork, SocketType.Stream,ProtocolType.Tcp); Use SocketType.Stream instead of SocketType.Raw or if you want datagram then use SocketType.Dgram Sayed Zeeshan ...Show All
SQL Server 'DataGridView1_CellContentClick' Doesn't Work For All Cells.
SQL 2005 Express (Visual Basic 2005 Professional): I have a DataGridView with 'ReadOnly' set to true in the Properties Window. I would like to have it perform an operation when any cell is clicked. In .vb [Design], I double-clicked each cell, and, it jumped to 'DataGridView1_CellContentClick' where I entered the instruction to perform. But, it only works for some of the cells in the middle of the DataGridView. The re ...Show All
Visual C++ Tool to convert from /clr:oldsyntax
Hi there, At one point there were rumors that MS would post or sell a tool to convert from the old managed C++ syntax to the new C++/CLI syntax. Stan Lippman wrote a series of articles on his blog: http://blogs.msdn.com/slippman/ The beta docs included a reference to it: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=c0ee7a81-9636-48d8-99c5-891afa4a017f Ronald Laeremans from the VC team hinted that it ...Show All
Visual FoxPro Cursors...
Hello again, I have a cursor that stores information, mostly which can be duplicates of one another. These items are presented through a list box. A user can add and remove specific items from the listbox and the cursor which displays them. My problem is that I am unable to remove a specific item if there are duplicates. What it does is it deletes all of them. Any ideas Lil, Would you eloborate it. How do you delete for example. Delete- ...Show All
