Rognprisy's Q&A profile
Visual C# setting a cursor to an embedded resource cursor
Hi, can anyone help me with the syntax of setting a cursor to an embedded resource. I already added my cursor to my project and tried this Cursor c = new Cursor(GetType(), "cursor1.cur"); this didn't work thanks in advance, kimme This should work, do you get any exceptions Did you make sure your cursor is marked as Embedded Resource The documentation about this ctor: Cursor Constructor (Type, String) . ...Show All
Visual Basic Grouping / Structures in Classes
I searched in the documentation but not sure how i can define class in this way where Related properties and methods should Come in a Group Say FirstGroup, secondgroup etc. i/o showing in the Main class Instead of MyClass.FirstProp i want to make groups in this way :- MyClass.FirstGroup.FirstProp MyClass.FirstGroup.FirstMethod MyClass.SecondGroup.SecondProp nope. . . not the way its done. if sets of methods belong together, they should be refactored to interfaces. cast the object back to the desired interface and call the methods - Public Interface Group1 Sub ...Show All
SQL Server no border
when i print my report i do not want to have border how do i do Thanks nobody ...Show All
Visual Studio Express Editions SQL Express Local and Remote database
did anyone try... are there any samples.. for this.. i would create aplication with local database, but in code on runtime it should change connection string and connect to remote database.... is this possible Hi, Yes this is very possible. You can store your connection string externally (text file or registry) and just load it in your connection object. By that approach you can change the connection string even if its already compiled... cheers, Paul June A. Domag ...Show All
Visual Studio "Load Report Failed."
Help! I am getting an error message: "Crystal Report Windows Forms Viewer" "Load Report Failed." when attempting to launch a Crystal Report. After clicking OK on the message, the form loads with the appropriate data. I've attempted to step through the code with the debugger and it gives me after these lines of code... Form newForm = new frmReportPreview(data); newForm.Show(); data is a dataset being passed to the windows form that contains the crystal report viewer. This is being run on the development machine. Let me know what other information is needed to help with this. Hello, It sounds like you are ...Show All
Architecture Architect Certifications
I have been watching this for a while now; just wonderring if anyone at MS happens to have a status update as to how things are going with the pilot I believe they said public information would become more available in early 2k6 but I might be mistaken. Greg ...Show All
Windows Forms convert html2xml
hi how i can convert htm file to xml file amr_a wrote: hi how i can convert htm file to xml file http://www.15seconds.com/Issue/010601.htm ...Show All
Audio and Video Development Have a look at this Authoringtools
Hello! Now I have finished a few authoring tools for HD DVD. You can download them on my site ( iHD.shlooptoop.de , I hope, that it will be a strong community later.). At the moment the tools are finished, but there could appear bugs, so if you found one or if one of the tools don't implement the languages right, please put it into the Bug Trap (you find it there too). All of the tools need the .NET Framework 2.0 from Microsoft. And of course I would like to get a feedback, what I could improve and so on, you can post it here or in the forum on my site. I hope, I have done something useful. Best wishes Dave Jacobi ...Show All
Windows Forms How do you convert the selected value from a combobox to a integer?
I have a combobox set up with some records from a database, it displays string data but the value underneath it is a integer. The items in the combobox are a result from a sql query between to related tables. When i try to run another query to pull some data i get a conversion error, basically its telling me "Conversion from string "System.Data.DataRowView" to type 'Integer' is not valid." Im using VB 2k5, how can i convert this to a integer I have the code from the form and the code from the queries Public Class Load_Favorites Dim loadfav As Integer Private Sub Load_Favorites_Load( ByVal sender As ...Show All
SQL Server multiple calls to SP
Hi group, I've got a performance issue. Here's in global what the sp (Let's call it SP_A) does. Step 1 Call a different SP (Lets call it SP_B) and store the output in a variable Step 2 SP_B runs a select statement that returns 1 value Step 3 SP_A uses this value as a parameter in a select statement. Step 4 The result of the SP_A is the result of the select statement (744 rows (always)) All tables used in SP_A and SP_B are temp tables. Total performance of SP_A is between 0.090 and 0.140 seconds. The problem is that this SP is called 180 times from outside SQL server. That means that the total processing time is somewhere between 21 and 25 se ...Show All
Visual Studio Walkthrough distinguish visually between start pages and normal pages
I was doing the Walkthrough 1 and I tried to put 3 values in the Enumeration called Index_Type . So the final enumeration was Normal, DynamicIndex , MultipleOrdering . And i tried to put another image to represent the end page. But when I select the MultipleOrdering value in the properties page the DynamicIndex image appears. I`ve checked the whole code. Can anyone help me Example of code. < class > OOHDM.Diagrams.NavigationalContext.DomainModel.NavigationalContext/AccessStructure </ class > < iconMaps > < shapeIconMap > < iconDecorator > OOHDM.Diagrams.NavigationalContext.Designer.Navigat ...Show All
Windows Forms How can i attach a file to install during setup, to my program ?
hello, i would like to attach a file to copy onto My Documents when installing the software, i don't know from where to start. thank you. You can not download files to custom locations if you are using ClickOnce to download and deploy your application. All ClickOnce apps are downloaded and installed only into ClickOnce store. -Sreekanth ...Show All
SQL Server Push Merge snapshot fails with Data is Null message.
Hi, I'm converting a replication script from SQL 2000 to SQL 2005. I am getting an error with push merge with no way to figure out what is wrong. I've configured replication on a single XP server in SQL 2005 RTM version. I have a push merge set up between A and B and between B and C. All 3 databases are 9.0 compatibility. The snapshot and merge jobs for the A to B run fine with no errors, and merge replicates ok. The snapshot for B to C fails with this message: Message 2006-03-09 17:30:35.94 --------------------------------------------- 2006-03-09 17:30:35.94 -BcpBatchSize 100000 2006-03-09 17:30:35.94 -HistoryVerboseLevel ...Show All
.NET Development Problem using ConfigurationManager.AppSettings for AppDomain using custom app.config file
I seem to be having a problem with using ConfigurationManager.AppSettings for a 'custom' AppDomain loaded with an alternate application configuration file. On load my Windows Service reads a Registry key that defines the instance of the application it is running for. Using this it creates a new AppDomain (using that instance name) and loads it with a custom configuration file that contains specific content appropriate to the instance that is running (remoting configuration and appsettings sections). However what I'm seeing during execution in the custom AppDomain is that the ConfigurationManager.AppSettings property returns with no data ...Show All
Software Development for Windows Vista Persisting layout for State workflow in designer control
Hello, is there a way to persist the layout of a state workflow in the workflow designer control sample I can persist the Xoml to file and re-load it, but when I do all the states are drawn on top of one another in the top left corner of the view. Hi Don, The layout information is persisted in SUO file in case of VS projects and since the re-hosted designer does not have one, you are seeing the problem. I have logged a suggestion for this functionality in Beta2. Thanks, Vihang ...Show All
