MJackson's Q&A profile
.NET Development Security Problems
dears, am developing web application that use Tablet PC which created in windows application as Windows Control,and use the windows control through html by <object classid=......>, after that i have many errors 1)when i do save image or upload image it appear SecurityException (the save,upload image from windows control). that is the Error: System.Security.SecurityException: Request for the permission of type System.Security.Permissions.FileIOPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. 2)mabey the clients not install Microsoft Tablet PC files, ine ...Show All
SQL Server Unable to display image of unconventional url in Subreport
Hi All, I have a situation here where by an image in my report is tied to a parameter name call ImagePath. The image is an external image. The strange thing here is that when I assign the ImagePath to "http://server/images/xxx.png" the image properly displays on the report. However, when I assign a value of "http://server/imagebinarystream.aspx" into the ImagePath (note: the url will stream a png image) it doesn't display anything, even though the when accessing the same url through IE, it does stream and display the image correctly. But not in my report. By the way, I have already set the UseSessionCookies to False in the Report ...Show All
SQL Server Help Using a Web Service as a Datasource
I have a Web Service that I would like to use as a datasource for one of my reports. I tried http://www.rdlcomponents.com/DTE/Default.aspx sm=a_a3 with no luck so far. Thanks in advance Gerry I was able to write my own extenstion for this. I used to example in Hitchhikers Guide and converted it to C#. Please ignore this request. Thanks Gerry ...Show All
.NET Development XHTML Validation Fails due to <asp:ImageButton> renders a BORDER="0" output
Steps to Reproduce: <%@ Page Language="VB" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <asp:ImageButton ID="flag_it" runat="server" style="width:22px;border:thin inset silver;vertical-align:middle;" ImageUrl ...Show All
SQL Server Triggering SSIS Packages
I am currently building an ASP.Net web app and implementing SQL Server 2005 for a project. I was relying somewhat on kicking off SSIS packages from the web app, but I am not really sure how to do this. If anyone could help me out, I would really appreciate it. See this link: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=257798&SiteID=1 ...Show All
Visual Studio Express Editions Quick question about SQL databases
I'm following the C# video tutorials about creating an RSS reader. I'm about halfway through the videos and just completed the lesson about creating, accessing, and modifying an SQL database. My question is, and please forgive me if the author of the video series touches on this in a later video, if I were to use an SQL database for this RSS reader application and decided to install it onto another computer, would I be able to use or access the database without SQL Server 2005 installed Answering yet another of my own questions... It seems that, yes, the server does need to be installed. Fortunately, if installing from a p ...Show All
Visual C# override static methods
Very simple question. Why is it impossible to override static method in C# I would like to be able to do the following: public interface IParent { object execute( object dataObject); } class C hild : IParent { public static override object execute( object dataObject) { return obj; } } What should I use instead Thx No you cannot override a static method. from http://msdn.microsoft.com/library/default.asp url=/library/en-us/csref/html/vclrfOverridePG.asp You cannot override a non-virtual or static method. The overridden base metho ...Show All
.NET Development Conversion of Double to string round off some decimal place
Hello , I am converting the double value to string by using the ToString() function but this function automatically round off some decimal place . Example : double d = DateTime.Now.ToOADate() ; string strDate = d.ToString() ; If d = 12345.123456789123 then after converting it to the String. strDate = 12345.1234567892 ; I lose the precision of the number and not able to get the accurate time from the string. I also use the NumberFormat.DecimalDigit . I set this property to 20 but its not working. I cannot use the decimal variable. Same problem i face when converting the double to the decimal type or vice v ...Show All
Visual Studio Express Editions Register trouble
2. I dowloaded, installed and registered all of the products. I have not received activation keys and have not found anywhere in the IDE's to enter them. Is this to do with the fact they are free for one year or am i missing something I have the same problem. I register all Express products, but I'm not recive any code or key for access to benefit stuffs. Why I recive only E-mail with Thank you for registering Visual C# 2005 Express Edition! I go on benefit portal but there is... nothing, only beauty, but death picture. How did you install the products, by using the Web installer or the Dow ...Show All
SQL Server Set Report for Snapshot History via Web Service?
Hello, Part of our Reporting Services 2005 implementation calls for the creation of a report (RDL) and uploading it to our RS server for deployment, all done programmatically. We'd like to have the uploaded report set up for snapshot history. Does anyone know how to do this programmatically through the web service I know how to do it manually through Report Manager, but can't seem to find the right method calls to do it via the web service. Thanks in advance BTW: the report we create meets the requirements of a snapshot history report... i.e. default report parameters, and a stored credential datasource. ...Show All
.NET Development Reg : Moving Table information to a local table
Hi, I have a problem, i want to move the information of the tables such as the fields and constraints and every related information to a local table. i am to the use that local table in my application. so the details from the database should be exactly matched. This must be working with any database. There should also be an edit option to set the relationship manually (Eg. to set the foreign key relationship manually). can anyone help with the code or logic on how to do this Thanks in advance.. Regards, satish.r The ADO.NET/System.Data forum: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=45& ...Show All
Visual C# Issues pulling data from a secured site using the HttpWeb systems. Code included...
The question about this code is at the bottom of the post. Thanks! All right. With the help of several people getting my HTML knowledge about POST and cookies down pat, I can now offer this small bit of sourcecode to those who want it: This first bit of code is "LoginCookie". You pass it the firstname, lastname, and password. It then returns a cookie that can be used later to prove who you are and that you are logged in. private static CookieContainer LoginCookie(string username, string lastname, string password) { string loginUri = "https://secondlife.com/account/login.php"; ...Show All
.NET Development Regex problem iv vc 2003
I need to use Regex object in my app I realized that if I need 2 RegexOptions so I have to put the 'or' operator betwwen them but when I do that I get an error: rror C2664: 'System::Text::RegularExpressions::Regex::Regex(System::String __gc *,System::Text::RegularExpressions::RegexOptions)' : cannot convert parameter 2 from 'int' to 'System::Text::RegularExpressions::RegexOptions' the code with ||: CString strPattern = _T("<form[\\s\\S]* <.form>"); Regex* rx = new Regex(strPattern, RegexOptions::Multiline | | RegexOptions:: IgnoreCase ); or with |: CString strPattern = _T("&l ...Show All
Game Technologies: DirectX, XNA, XACT, etc. fail of create xact engine
when i type the following code: if(FAILED(XACTCreateEngine(XACT_FLAG_API_AUDITION_MODE,&engine))) mb(L"failed"); it show me a window of "filed" message i kown creation of the engine is failed, but i dont know why any person can answer me, thx a lot Also, please ensure you are linking to the debug version of the XACT libraries, that you are using the Debug DirectX runtime, and that you have the debugging output level turned up. Then check the output window in the debugger. ...Show All
Windows Forms bindingNavigator does not allow me to add "Save" function
I have DataGridView on a form. When user finish with changing data he clicks buton "Save" (regular button mothing special). Everything working. Then I decide to add button "Save" button to bindingNavigator in order to have better design of form. I add same code to Click event and this code does not see any changes in data! Absolutely. I made special method of form for it and call this method for comparasion from regular button on form (works) and from button on bindingnavigator (does not work) What do I do wrong Seems to me binding navigator lives in own space and does not know anything about data under form rega ...Show All
