Samant B Jain's Q&A profile
Visual Studio Reportviewer print dialog problem
My .NET version 2 application creates reports by calling a method from a dll (which I also wrote) which displays a form containing a user control which in turn contains a ReportViewer. I set the viewer's .ReportPath, .BindingSource, and .DataSource properties and call the .RefreshReport method. The viewer displays the report correctly. When I click the viewer's Print button, the Print dialog correctly appears, but I have to click the dialog's ...Show All
Visual Studio ASPNETCompiler Error - System.Web.AspNetHostingPermission, System
We are getting the following error in our automated build process. AspNetCompiler: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe -v /PreCompiledWeb -p "Web Sites\Campaigns\\" -u -f -d PreCompiledWeb\ AspNetCompiler: : ERROR /PreCompiledWeb/Controls/SignInOptions.ascx(4,0): Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e0 ...Show All
Software Development for Windows Vista Vista....named after a built in oven.
Oddly enough this name was no surprise. My mom has had a built in oven named Vista View for 41 years. I hope the view on the Vista destop is better than the view inside the oven in our home. ...Show All
Windows Forms ComboBox with DropDown style does not show initial value
Imagine a combo box with option values stocked in a parameters list. The user will can enter any other values. I initialize at run time the combo box with this code The dataset contains (5,00 %, 10,00 %, 15 %, etc.) values cbTest.DropDownStyle = System.W ...Show All
Visual C++ Finding Mac address for firewire
Hi all, I am looking for a method to read the mac address of firewire programatically... Does anyone know the way out for this I have tried SNMP and searching registry entries but could not find anything.... Regards, Smriti. This isn't really a C++ specific question: you would be better asking your question on a forum/newgroup that is specific to networking issues. Having said that a quick that MSN Search retur ...Show All
.NET Development DataAdapter Update Error: Syntax error in INSERT INTO statement
I am trying to add a record to an Access DB Table, everytime I try to update the DataAdapter with the updated DataSet I receive the Error: Syntax error in INSERT INTO statement. Here is the code: Dim da As OleDb.OleDbDataAdapter Dim ds As New DataSet Dim con As New OleDb.OleDbConnection Dim sSQL As String con.ConnectionString = "PROVIDER=Microsoft.jet.OLEDB.4.0;Data Source=Alarms.mdb" co ...Show All
Visual Studio Tools for Office Problem with attached schema in wod document template
Hello All, I entered some data on the document through "Action pane". To validate this data and place it in specific region on the word document, I am using the XML Schema. I prepared one xsd and add Schema by doing Tools->Templates AddIns ->XML Schema tab->Add Schema. I checked the options "Ignore mixed content" and "Validate document against attached schema". Then through the "Task pane&q ...Show All
Visual C++ TypeLoadException
Hello - I recently added code I adapted from C# to C++ based on an articale on CodeProject.com that is used to provide runtime Properties to a PropertyGrid. The link is: http://www.codeproject.com/cs/miscctrl/bending_property.asp #xxxx It now compiles fine, but I get the runtime error TypeLoadException with the message: "Body referenced in a method implementation must be defined in the same type" along with the name ...Show All
Smart Device Development Socket c# programming on windows mobile 5.0
Hi please look at this link it my question based on c#! Thanks! Kin http://forums.microsoft.com/msdn/ShowPost.aspx postid=299042&isthread=true&siteid=1&authhash=6dcb696aa96f08b031e59fda92f84b7173ab8be0&ticks=632779917540143020 Hi Kin, You would need to establish a GPRS connection with TcpClient. I have posted an article on how this can be done: http://blogs.msdn.com/anthonywong/archive/2006/03/13/550686.aspx ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Please help, newbie looking for any advice
Good Morning Everyone! My name is Mike I am a true Newbie to game programming. I will cut to the chase. I am desperately searching, and quite frankly overwhelmed with all the information I am finding. My goal is to create sports simulation management games for the PC. I want my games to focus on the management aspect which would detail AI and less graphics. I just need a starting point. Do you crea ...Show All
Visual Basic Using Crystal Report 8 for vb2005
How can I use the Crsystal Report viewer control(cdviewer.dll) type version 8 for vb2005 is it possible pls post some sample code... Thanks... Hi, I really doubt that Crystal reports 8 could support Windows Forms 2. vs2005 supports crystal reports v10. cheers, Paul June A. Domag ...Show All
Visual C# Turn off "Are you sure you want to delete all of the bookmarks?"
This is more of a minor annoyance than a real issue but if anyone has a solution I'd be very appreciative. When you delete all of your bookmarks from a solution in VS2005 (Ctl+B,Ctl+C) you always receive a confirmation dialog asking you if you're sure you would like to do this; does anyone know a way to disable this confirmation I've haven't been able to find anything in the Options (though I may have missed it) and I know that some VS opt ...Show All
Visual Studio 2008 (Pre-release) How are InvokeRequired/Invoke supported in WPF?
Are they I need to port this to WPF, but InvokeRequired has been removed from the control and there is no form :(( public static void AppendText( Form form, TextBox textbox, string text) { if (textbox.InvokeRequired) { AppendTextCallBack CallBackAppendText = new AppendTextCallBack (AppendText); form.Invoke(CallBackAppendText, new object [] {form, textbox, text }); } else { ...Show All
Visual C++ ProgressBar for the TextBox
I'm working at a program, which converts strings in many diffrent ways. But sometimes this needs a lot of time (100-150 seconds), especially if the piece of text is rather big. The code is: this ->txtOutput->Text = convert(some_text); * - this ->txtOutput -- is a TextBox. *- convert(String text){} -- is my function And sometimes this needs a lot of time. I want to show to user the ProgressBar, which will indicate the status ...Show All
Visual Studio Tools for Office Range name errors on Sheet1_.Designer.vb
I keep getting errors in the sheetx_.Designer.vb Error - 'MyRangeName' is not a member of 'MyWorkbook.MySheet1_'. These error are in Sub InitializeComponents() CType(Me.MyRangeName,System.ComponentModel.ISupportInitialize).BeginInit() .... and at the .EndInit() I am unable to find a way to correct these errorr. The same range names keep coming up. Any suggestions. Dave Hi Dave. Do the ...Show All
