Toghian's Q&A profile
Visual C# Add events for dynamically generated DropDownList control
This is what I have done so far: In Page_Load() ............ dd1 = new DropDownList(); this.dd1.SelectedIndexChanged += new EventHandler(this.dd1_SelectedIndexChanged); int listIndex = 0; dd1.Items.Insert(listIndex, new ListItem("MY SETTINGS", "TestDD.aspx")); dd1.Font.Name = "Verdana"; dd1.Font.Bold = true; dd1.Font.Size = 7; dd1.ForeColor = Sys ...Show All
Visual Basic deleting from database
i got a button called delete and when i enter in a order id (shown in the pic) and click on delete it goes into the database find the id and the row of information and deletes it, i want some information on how i can this can be done idea anyone please You would have to use a Command object like OLEDBCommand or SQLClientCommand google deleting records ado.net vb.net I always start there because I end up finding different wa ...Show All
Windows Forms not able to locate line of code geberating the pb
My class frmacct is a form. Sometimes, I get the error message : 'Object not set to a reference' but the code stops and puts that 'yellow back color' at the begining of my form class: Public Class frmclass So I m don t know how to locate the line that generates the error since the debugger stops at the begining of the form Thanks Hmm, thats a little odd. What language are you using You could try to trap the exception usin ...Show All
Windows Forms SQL Server Bugaboo
Hi Gang! Here's the skinny: I am working on a simple db app that reads and updates a db on SQL Server 7. When I ONLY have the connection string in the code, I can connect just fine. When I add code to manipulate data, I lo ...Show All
Software Development for Windows Vista Using DocumentViewer Find or Search?
I've opened a XPS document using the DocumentViewer control, but am having trouble using the find method. Would it be possible to get a snippet showing how to search for text (and an image as well) within an XPS document and highlight the text or image within the viewer Similar to typing a query into the find text box at the lower left and pressing find to search and highlight the strings it finds, I would like to be able to do this with both s ...Show All
SQL Server How to add YTD (Calculation) to Time Dimension?
Is there any you can add YTD to Time Dimension as attribute Or it has to be Calculation Then how do we do this Is this need to base on Dimension or Measure I would prefer this to be base on dimension and show in Time dimension hierarchy. Any inputs on this are highly appreciated. There are several ways to accomplish this. If your users want a way to select Monthly values vs, QTD, YTD from a ...Show All
Visual Basic VB confused about SQL Server versions ?
Some months ago I installed beta preview editions of Visual Studio including a copy of SQL Express. Recently, I successfully uninstalled all of these betas using the special purpose uninstall tool available on the Microsoft website. The uninstal completed successfully or so it said. Next I installed Visual Studio 2005 Professional and the installation completed successfully. I also removed SQL Server Express Edition (Autoinstalled with VB) an ...Show All
Windows Forms Empty in datetimepicker, when user click pick current date.
I know how to set the datetimepicker empty when a form just opened by doing this. dtp.Format = DateTimePickerFormat.Custom dtp.CustomFormat = " " Then I want to set the DTPto have current date when user click&nbs ...Show All
Architecture seperate rule engine need
Hi, I need to know about whether there is any use of rule engines like Inrule with Workflow engines. All workflow engines are coming with their own rule engine like WWFetc. So what is the need of seperate rule engine like Fair Issac, ILOG etc. Regards Tic, A good starting point is Sandy Kemsley's column entitled "Seperating Rules from Process" as is James Taylor’s blog - http://edmblog. ...Show All
Visual Studio Express Editions Visual Basic 2005 Express, MS Office 2007 Beta, and Excel .Net Reference
I downloaded and installed Microsoft Office 2007 Beta and have discovered a problem with the Excel .Net references when working with VB 2005, but can't find where to report it. The 2007 version causes overload errors in the part of my code that accesses Excel. I had to reload the Excel 2003 .Net advanced option and load Excel 2007 without the .Net advanced option to get rid of the errors. This is my first experience using a Beta prod ...Show All
.NET Development Error Massage after deploying in client...
Hi, I built a program in c# and add it a setup deploying project so I'd be able to install it on other computers. But when I'm installing it on other compuers that don't have VS.NET I'm getting this error massage: EventType: clr20r3 P1: clock.exe P2: 1.0.0.0 P3: 43e89485 P4: system.windows.forms P5: 2.0.0.0 P6: 4333aefa P7: 1979 P8: 2 P9: pszqoadhx1u5zahbhohghldgiy4qixhx Anyone knows what does it means ...Show All
Visual Studio Project Subtype from wizard
Is there any reason why it shouldn't be a simple matter to start with a package project that is created by the wizard (new project -> other project types -> extensibility -> visual studio integration package) and add a project flavor to it using the ProjectSubtype sample as a guide I ask because I'm trying to do just that, but when I try to open the sub type's template, VS crashes without giving warning or description of the error. The ...Show All
Game Technologies: DirectX, XNA, XACT, etc. d3dxcreatetext & unicows ?
Hi, I cannot get d3dxcreatetext to work with unicode strings on Windows 98. If I try to create text with unicode characters d3dxcreatetext fails Is it possible at all Maybe some additional steps are necessary to make it work (I am using unicows) thanks in advance, Cube kubad wrote: I cannot get d3dxcreatetext to work with unicode strings on Windows 98. If I try to create text with unico ...Show All
SQL Server Can't Route to another LOCAL Broker Instance
I have two databases (A and B )on the same SQL Server instance. Both have SSB enabled and running fine within themselves. All athorizations are at present set to dbo. Recently I had a requirement to start a dialog and send a message from within data base A to a queue via a service that is in database B. I tried coding the SSB instance in the BEGIN DIALOG then I set up a route and tried that. On both occoasions I got the following on sys.tr ...Show All
SQL Server Use a transform against SQL Server
My question is derived from the following case: I'm developing a game browser in which I have to store server information in a SQL Server db. On the game browser (client side), the server information is stored as xml, and the browser will have the ability to filter those servers using xslt. I want my users to have the ability to apply their filters (xslt) against my list of servers that I have stored in my db. The problem, is t ...Show All
