Korol's Q&A profile
Windows Forms Custom Cursor refuse to work...
I want to set a custom cursor to my form or picturebox (doesen't matter). I've tried with Cursor.Current = new Cursor(@"cursor_path.ext"); and it keeps saying that the image is in invalid format O_o (yeah right). Iam using this cursor in my Windows settings and it works great. How can I set a custom cursor and to avoid this crazy error about invalid image Thanks. ...Show All
Visual FoxPro switch to fx9?
I've heard from a few different people/companies that VF9 has quite a few bugs in it. I'm currently using VF7 which I'm actually pretty happy with. I would like some feedback, however, as to whether or not I should upgrade to 9.0 If so, why I appreciate all your respones. Whoever told you is wrong. VFP9 SP1 is the most stable version of VFP ever. Definitely has less bugs than VFP7 at the same stage. Also has a ton of new enhancements sin ...Show All
Visual Studio 2008 (Pre-release) Quality of Drawings Q
Hello, I’m new in WPF, all my previous exp with drawings for Win is Win API, GDI+. I'm surprised by the quality of drawing in Avalon. Please note, I do it from my code: Ellipse es = new Ellipse(); es.Width = 20; es.Height = 20; es.Stroke = Brushes.Green; es.StrokeThikness = 0.5 MyPanel.Children.Add(es); What I got in result is a crappy GDI+ like pseudo circle... I sow some real nice examples of drawing with XAML (I can't ...Show All
SQL Server How to get detailed info of views?
Hi. We're using Sql Views to access data from our database, and I need to validate the views so that we don't loose anys data. By that I meen that e.g. if a foreign key column is nullable, we need to use an outer join to secure that we get all the rows from out "main" table in that view + some other checks on the joins and the joined columns. But I couldn't get this info from the Smo.View-object. Do I have to parse the CREATE VIE ...Show All
Windows Forms Error installing Winforms 2.0 application with ClickOnce deployment
Hi. I have an Winforms 2.0 application that I want to deploy using ClickOnce deployment. I have tried it and the deployment seems to work. I get the webpage where I can install the application from, but when I try installing the application I get an Windows error dialog and a '.NET Runtime 2.0 Error Reporting' entry in my Windows eventlog. Detailed error message: EventType clr20r3, P1 app.exe, P2 1.0.2211.28810, P3 43d0fb04, P4 mscorlib, P5 ...Show All
Visual C++ Need help circumventing compiler bug on C2665
I've run into a bug in the compiler that's preventing me from building. I have a class with two constructors which are clearly totally from each other: ColumnDrawInfo( const CString& inLabel , COLORREF inText, HFONT inFont, UINT inTextAlignment = DT_LEFT); ColumnDrawInfo( UINT inLabel , COLORREF inText, HFONT inFont, UINT inTextAlignment = DT_LEFT); But when I try to create an instance with that second constructor the compiler fails: error ...Show All
.NET Development Debugging .NET Runtime 2.0 Error Reporting Event: 1000
Hi, I have an application running on .Net Framework 2.0. After running for a day or so, the application stop and an error is generated by Windows Error Reporting. The message is as follows: Event Type: Error Event Source: .NET Runtime 2.0 Error Reporting Event Category: None Event ID: 1000 Date: 18/01/2006 Time: 09:46:29 AM User: N/A Computer: myComputer Description: Faulting application myApplication.exe, version 1.0.2208.39414, stamp 43c ...Show All
Visual Studio Express Editions Making an app look like a Windows XP app
I am currently porting a VB5 app to VB2K5. I have installed VB2K5EE at home. I am trying to do the basic menu/toolbar. The trouble is that I can't seem to make those two look like regular Windows XP menu/toolbar. I.E. I look at the MSPaint and Wordpad menus and I can't make the menus in VB2K5 look and act the same. I can select System in the RenderMode property but it looks like a default Windows XP menu bar but acts like a Office2K3 menu. ...Show All
SQL Server Problem with Linked Server
I am running a linked server "SGSC" from SQL 2k to Oracle 9i EXEC sp_addlinkedserver @server='SGSC', @provider='MSDAORA', @srvproduct = 'Oracle', @datasrc='SGSC' EXEC sp_addlinkedsrvlogin @rmtsrvname ='SGSC', @useself ='false', @locallogin =NULL, @rmtuser = 'bisadmin', @rmtpassword = 'bisadmin' When I am trying to execute the following query SELECT * INTO GL_BALANCES FROM OPENQUERY(SG ...Show All
Visual Studio Add projects to VSS
Hi, I installed VS2005 Professional Edition and Team Foundation Client to my computer, and have problem with the VSS. I selected "New Project" from the File menu and wanted to add a new project to VSS though the add to source control checkbox does not appear in the New Project dialog box. How can I add a project to VSS I can check out projects from Team Foundation Server. Thanks ! If the ...Show All
Windows Forms Hyperlink a DataGrid cell
Hi everybody, I have some data as following, Name1ST Term Exam2ND Term Exam3RD Term Exam ----------------------------------------------------------------------------------- XXX151723 YYY252119 ZZZ161814 I want to show it in a Windows forms datagrid, but I want the highest marks from each row can&nb ...Show All
Windows Forms DataTable Expression Column
My DataGrid is bound to a DataSet, with following columns: Description, CashExp, CreditExp,Frequency On run time, I am adding two new DataColumn “AnnualCash” and “AnnualCredit” and defining Expression property to give product of two columns, as follows Dim dc&nb ...Show All
Windows Forms Winforms with Access DataBase ( it doesn't SAVE , modify records )
Hello. I'm developing an application using vb. NET and an Access DataBase ( the application is not big ). I ADD a DataSource, ( Menu/Data/Add new datasource) i select an Access Database, and i select the table i need ( dataset ).. everything seems to be fine. I go to the dataSource Windows to see my DataSets with its table, i drag and drop it into a blank winform, it creates a datagrid with its navigator, every seems to be cool. I run t ...Show All
Visual C# Can I have multiple selection in my list box through XAML?
Can I have multiple selection in my list box through XAML Simple: <ListBox SelectionMode="Multiple" /> Sheva ...Show All
SQL Server SQL Server 2005 Service Pack 1
Is there no "passive" install mode for SP1 (gui but no user input required) I can run unattended using the /quiet switch but this gives me absolutely no feedback as to progress or success/failure of the install. It also returns to the command prompt immediately whilst kicking of msiexec in the background, meaning I can't trap any errorlevel. How are we supposed to check success or failure in applying the SP for unattended installs For ...Show All
