Krolrules's Q&A profile
Visual C# C# - Maximum Project Name Length
I just installed C# Express Version 8.0.50727.42 and I have difficulty debuging applications with a project name length of 11 characters - if they are less than that I don't experience this problem: Example: I created a new windows application project named: abcdefghijk and then immediately pressed F5. The following error is in the output window: The program '[688] abcdefghijk.vshost.exe: Managed' has exited with code -1073741819 (0xc0000005). Manually, I can go into the output directory (E:\Documents and Settings\Parents\Local Settings\Application Data\Temporary Projects\abcdefghijk\bin\Debug) and execute the abcdefghijk.exe and the applic ...Show All
Visual C# GDI form transparency problem
I'm trying to draw a transparent form using GDI, by overiding the OnPaint and OnPaintBackground event handlers. This technique works well enough on the first draw,and it produces a nice result, however, on subsequent draws, it works less spectacularly. For some reason, the screen is never cleared, and when it redraws the new things are composited ontop the previous draws, making the transparent images darker and darker. Here is the contents of protected override void OnPaint(PaintEventArgs e) { Graphics g = null; Assembly assembly = Assembly.GetExecutingAssembly(); Point point = new Point(400,400); backBuffer ...Show All
Smart Device Development Copy Data from one form to another
Hello Friends, Iam new to this PocketPc App . I would like to know how to transfer data from One Form to another. I would like to ge the value of a textbox in form1 to form2. Thanx in Advance Cheers Biju S Melayil Just create a public proeprty on form1 which holds the value of the textbox. Then you can call this property from form2. Or add the value of the textbox on form1 as a parameter in the constructor of form2. ...Show All
Windows Forms Date time Format
Could you please let me know to represent the following information which dataformat I should use. 2005-01-02 15:57:19.237 till second I am using "MM/dd/yyyy HH:mm:ss" but for microsecond in the above eg 237, what should I use Thanks fff http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemglobalizationdatetimeformatinfoclasstopic.asp frame=true ...Show All
Visual C# Thread Synchronization C# --> C++
Hello I have a little native dll written in C++. I call it's functions from C#, but I have some problems that I can't afford. I have no unerstanding in multi-threading at all, so your help will be appreciated. I have a C# class which uses BackgroundWorker. It calls the dll's function to determine some changes and if one found, it must trigger associated event. But the problem is that I call Connect() function from the BackgroundWorker's DoWork event (in some seconds interval) which is said not to be Thread Safe and I call the same function from Main Thread, so some times an AccessViolationException raises saing "Attempted to read ...Show All
Windows Forms Bootstrapper problem.
Hi, im trying to create a setup for my win application that provide automatic deployment of .net Framework thru dotnetfx.exe. i read how to by the following sites: http://msdn.microsoft.com/library/d...eoperations.asp http://msdn.microsoft.com/library/d...edistdeploy.asp when i launch my setup bootstrapper i always have an error : Error in the setup.ini or unable to find the file... my deployment dir  ...Show All
SQL Server Parameter Change and Report Clears
When I change the value of a parameter the report is cleared on a post back to the server and I have to click on the View Report button to see any results. Is there a way to either not post back to the server when the parameter is changed or automatically post back and retrieve the new results I found this link below here and it sounds like I am out of luck since both of my parameters are dates with functions to define them. I have tried changing their order with no luck. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=284284&SiteID=1 Does anyone know if this is an issue without a work around Thanks! ...Show All
Visual Studio CrystalDecisions.CrystalReports.Engine.ReportDocument
Hi friends, i have deploy a VB.net application which have crystal report in it. the application is running well but when i open the form with Crystal report its giving me error. Please help See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details. The error is: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.TypeInitializationException: The type ...Show All
Visual C# crstal report are not run in my web page in vs.net 2005
Hello I am developing a crystal report in vs.net 2005 with sql server backend. but when i run this report it give me an error invalid class string . I try every this like. set database info., using data set. etc. but it not work. please guide me how to solve this problem. I am used windows xp with service pack2, Sql server 2000. please help me Thanks Hi Amrit, This forum is dedicated to C# IDE related questions. For specific questions related to Crystal Reports on ASP.NET it would be best to ask on the Crystal Reports forum at [ www.ASP.NET ]. Regards, Saurabh Nandu www.AksTech.com ...Show All
SQL Server metadata driven SSIS package--table variable
Is there anyone know if a simple SSIS package (moving data from source table to target table) or task can be called repeatedly using a variable that obtains value once a time from a metadata table containing only table names. Basically, I would like to pass in a table variable to the SSIS package or task to start the ETL for different tables. Thanks a lot! Oliver Patrick, Can you give some rough ideas as what you are using in terms of programming languages, scripts or SSIS tasks to create metadata driven SSIS packages. Many thanks! Oliver ...Show All
.NET Development XmlNode.RemoveChild not working?
Hello, I tried posting this to a Reporting Services newsgroup also, but I figured I would try my luck here as well as what I am experiencing is probably not Reporting Services specific. I have an RDL document (for those who don't know RDL is Report Definition Language, which is just an XML structure that defines a Report in MS Reporting Services). I load an XML document into the .NET 2.0 framework's XmlDocument object. The XML is similar to below: <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xml ...Show All
Visual C# Using C# with MySQL
I'm asking about using C# with MySQL server. Which is better using C# with SQL server or C# with MySQL server I'm working with project that used C# as my application to read data from smartcard. The data from smartcard then will save into database. Which server is better That depends on what you need. If you are planing to store really hude amaounts of data and need enterprise features then SQL server is the way to go (aldow MySQL 5.0 has many new features such as stored procedures, etc). Don't get me wrong MySQL is perfectly fine in most cases. And it is free, so... ...Show All
Software Development for Windows Vista System.Transactions and ADO .NET 1.x IDbTransaction
Has anyone done any work with mixing SysTx transactions when a legacy ADO .NET 1.x data access component is in play Has anyone done a resource manager for an IDbTransaction or connection What is your feeling on this appraoch -Scott The transaction adapter to enable "LTM" transactions with Microsoft SQL Server 2000 is doing just that: http://blogs.msdn.com/florinlazar/archive/2005/09/29/475546.aspx You shouldn't have any problem mixing the two. Unless I'm missing some aspects of your question. ...Show All
Visual Studio Express Editions Help With Codeing
i was just wondering were to start I'm makeing a RPG game just a little help if i can get it Sincerly, Logan Looker I think a good starting question for you would be, "Have you every done any programming or coding before now " Creating a game of anytime can be a complex, but still possible, piece of work. I would personally recomend two things: First, before doing any further work towards the RPG, find a book or two on Visual Basic (I'm assuming that is what you are using since this is a VB thread). Getting a handle on the very basics of coding will be necessary. To put everything in this form would take quite some t ...Show All
SQL Server Enforcing integrity within the XML type
Assume that I am storing the following, typed as xml within SQL Server 2005: <guids> <guid>1B92ABFB-0E35-4DD5-AD58-3E5F7C5E03F1</guid> <guid>35EEE90A-515A-484A-A178-C5114C154504</guid> <guid>4AB4D4E0-AE83-4770-A809-D9D95A98B00A</guid> </guids> Also assume that there is a column, in a relational table, which stores all the possible values which could appear in the <guid> elements above. Is there a BKM for how to enforce integrity within the XML type I want to make sure that no <guid> appears, within the XML, which is not contained within a particular relational column. An ...Show All
