Rahul Kumar's Q&A profile
Visual Studio Tools for Office VSTO & MS Access
I'm just trying to get up to speed on the new Visual Studio 2005 and the new Tools for Office. We do a lot of work with MS Access (and Excel) and what I find odd is that in all the articles I've read there is not mention of MS Access w.r.t. the VSTO. Do the VSTO not work with MS Access What am I supposed to use if I am doing development with Access 2003 Can someone please clarify how VSTO works with MS Access We've already been burned by buying Visual Studio 2003 "Special Edition". It includes the Office Tools that I believe work with Excel and Word. Too bad we bought the upgrade to work with Access 200 ...Show All
Visual Studio 2008 (Pre-release) Rendering (exporting) to bitmap (PNG,JPG)
Is there any possibility to save Window content or other Visuals to bitmap I want to compose something in XAML (using StackPanels etc.), display it on screen and then save to PNG or other format. Thanks Vojta This only works if you don't have {Binding} in xaml ...Show All
Windows Forms Store Objects In A Control - Like Outlook E-Mail
I need a control where I can drag and drop objects into it (i.e., files, e-mails, pictures) and I'd like it to work like an e-mail works in Outlook. In Outlook, I drag a picture into the e-mail and it because an attachment and displays itself in that e-mail as an icon. If I drag another e-mail into the e-mail, it is now an attachmen ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Is there a simple way to flip a Sprite?
It's been a while since I've posted here (last question I asked was about scrolling a 2D background) and now I'm back with another 2D question. Is there a simple way to flip a sprite horizontally and vertically I started to just make new textures for each of the positions, but then I thought somebody has to know how to do this the right way for 2D games. From what I'm gathering, typically you do some kind of World transformations to flip your game objects around when you normally develop for DirectX (and by normal I mean 3D development), but with the 2D development route I've been going, I've been trying to leave out things like Wor ...Show All
Visual C# Integration of MSDN Library with Visual Studio 2005
I have installed two versions of MSDN Library, and still my VS2005 doesn't recognise any local help at all. Because of some legacy code I need to keep VS2002, VS2003 and VS2005 on my system. My VS2005 is Team Edition for Software Developers. My installed versions of MSDN Library are Octover 2005 DVD for VS2003, and 8.0.50727.137. Thank you. Could you elaborate What do you mean by "doesn't recognise" Do you mean when you press F1 while editing code you don't get any help ...Show All
Visual Studio Master-Detail Reports
Is there anyway to do a Master-Detail report with a separate table for the Master data and one for the Detail Crystal Reports does this, as crappy as Crystal is I'd hate to lose something. Did you manage to find an example using a subreport I cant seem to find one, im trying to link my main report to the main table and a subreport to a details table but cant seem to get it to work The only examples i can find are not connected to seporate database tables They are using xml data or embeded data ...Show All
Visual C# Trignometry, how to??
Hello everyone out there, I am having this problem creating a calculator which does trignometry, i simply have no idea of how to enable trig functions. It's like this: I think that i can make the actual user interface work if i can just get a way of coding anything which incorporate the use of sine, cosine and tangent. My question is as follows, what code do i need to write to obtain a numerical value, either in terms of degrees or radians Like, to find sin(X) and arcsin(X) and all the others, what do i do in Visual C# Thanks :) At the top of your source file, have using system; Then just do thi ...Show All
Visual C# ExecuteReader error
Hi all, apologies if this thread or a similar one has been covered in this forum already. I am a problem with my program and I need some urgent help. I have datagrid which read from a database. It worked very well the first time I created it and I tried to use the same code in another form then I started having problems. even though i have comment the codes in the other form out I still get this error "ExecuteReader requires an open and available connection. The connection's current state is open, fetching" on the line oleDbDataadapter1.Fill(dataTable1). trying to solve this error, I have put in a if statement to check the connection stat ...Show All
Visual Studio Tools for Office Help with Infopath!!!
I am trying to send a form to a distribution list but not as an attachment file. I just want it to be HTML view version. The only way to do that is through File > Send to Mail recipient. Is there a way to get the link of that function and put it as the behavior of a submit bottom within the form kurdojamal@hotmail.com Thank you for your help! You should post your question to the Infopath newsgroup. There's a better chance that someone there will know the answer to your question: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.infopath&lang=en&cr=US Harry Miller Technical Editor http://blog ...Show All
Visual Studio Express Editions Installation problems for Platform SDK into VC++ Express
I have downloaded and installed both Platform SDK and VC++, i followed all the steps from http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ and was still unable to get the windows applications. i am able to run VC++ and when i try and create a Win app project i get these errors The following error has occurred during XML parsing: File: C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults\CoreWin_Express.vsprops Line: 9 Column: 1 Error Message: Illegal qualified name character. The file 'C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults\CoreWin_Express.vsprops' has failed to load. Failed t ...Show All
Windows Forms ShotDown Windows
Anyone knows how to shut down windows I used ExitWindowsEx from "user32.dll" in Visual studio 2005 but it didn't help. it returned 0. what should be entered as dwReserved Please Help..... The second parameter is dwReason, and it may contain any of the constants listed here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/sysinfo/base/system_shutdown_reason_codes.asp Regards, -chris ...Show All
.NET Development vb.net to c#.net
Greetings All, i need to convert a functin from vb.net to C#.net here is the vb.net function, when i convert the function using converters i am getting few problems. my main problem is ReDim and ReDim Preserve. these function are not available in C#, how can i convert to C# accordingly. can any body pls provide me a solution. thanks in advance Protected Function GetRowsList( ByRef oReader As SqlDataReader, Optional ByVal nStart As Long = 1, Optional ByVal nRows As Long = -1) Dim nCols As Integer Dim rCnt As Long = 0, nbegin As Long = 0, nEnd As Long = 0, nCol As Long ...Show All
Visual C# What is wrong with this ?
Hi all I am testing the Code Analysis new feture of .net 2005 so I have added these lines to the Assemply info file [assembly: CLSCompliant( true )] [assembly:SecurityPermission(SecurityAction.RequestMinimum)] and signed the assemply with strong key file when I build the project it's failed to be build put when I go to Error List to find what's my errors to correct it I didn't found any errors or warnings or even messages So what is the problem. any body can help and the amazing thing that when I remove the code analysis check it works fine ,is this a bug in .net 2005 code analys ...Show All
.NET Development how to concatenate data from two Byte arrays into one Byte array?
Hello! Does the .NET framework provide an easy way of merging two Byte arrays into one boc First a low level one: byte [] one = { 1, 2, 3 }; byte [] two = { 6, 8, 9 }; int length = one.Length + two.Length; byte [] sum = new byte [length]; one.CopyTo(sum,0); two.CopyTo(sum,one.Length); Then a bit better, use the generics List<T> collection byte [] one = { 1, 2, 3 }; byte [] two = { 6, 8, 9 }; List < byte > list1 = new List < byte >(one); List < byte > list2 = new List < byte >(two); list1.AddRange(list2); ...Show All
Smart Device Development SIP button problem
Hi, I have problem with sip button in right-bottom corner of device screen. I Have form, that is not maximized and looks like messagebox, but in this case sip button do not shows I've tried use SHFullScreen function, but no effect Have any idea ...Show All
