DeWale's Q&A profile
Windows Forms How do I change datagridview datasource and refresh screen
I've got an Access database with 50 state rate tables, named AKRate, ALRate, ARRate, AZRate... I have a listbox that displays AK, AL, AR, AZ... I need to be able to fill a datagridview with the rates from each table when the user selects a state and redisplay the page. I believe I need to change the datasource and refill the grid. How do I do this the following code blows up in the page load function on this line: me .ListBox1.SelectedItem & ...Show All
Visual Studio Express Editions Adding install-time code
Hi, quick question: How do you add code that you want to run when your program is being installed (For setting inital values for reg keys and things like that) Or is it easier just to have a "FirstLaunch" registry key and then run that code from within the actual application If you are using VB2005 Express Edition, you only have ClickOnce Deployment available and cannot write to the Registery. You wil ...Show All
Visual Studio Is there any command line that can set a folder as the "Snippet Folder"?
Hi all, The subject's meaning is that I first create a new folder int the directory " C:\Program Files\Microsoft Visual Studio 8 \ VC#\Snippets\1033 \"(in the .net 2005 install location). And the folder cann't be recognized by .Net as the "Snippet Folder" till I use the "Code Snippet Manager" to add it as the correct folder. Now I didn't want to use this way because I want make a setup to install the snipp ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problems with Draw Sorting for Alpha Blending
Hi! I'm having a problem finding a way to sort my alpha blended objects for drawing. My language is C# and I'm using the April 2006 DirectX SDK. Currently, I'm calculating the distance from the camera and using an IComparer class object in an Arraylist. When I'm using exceptionally large objects (such as foreground cloud effects) I find that because their distance is measured from the origin objects that are intended to be drawn behind the ...Show All
.NET Development payment integration using orbital gateway(paymentech) -- its urgent
Hi All, Can anyone help me out in integrating payment server to my application using paymentech (orbital gateway). I have never worked with payment integration. Actually this integration is for when the user subscribes for something through my site, then he has to pay the amount to the merchant of the site. This has to be done using paymentech orbital gateway. Please help me. Its urgent. Awaiting for the reply. Thank you in advanc ...Show All
Windows Forms TreeView Bug? Please help...
I'm using a TreeView to display different sets of data from a SQL database. The data list is determined by a set of buttons. When a button is clicked, the data is retrieved from the database, then populated into the TreeView - pretty simple stuff. Here's the problem: If a large list (with scroll bars) is loaded first, then a small list (without scroll bars) is loaded next, the last node of the small list will disappear when selected ...Show All
Visual Studio Express Editions sendkeys and focus
Ok i got a bit of a prob. i'm tryin to make vb type in a webbrowser thing tht i got onscreen in a vb form. my friend suggested send keys but you have to set a focus to the webbroweser or somethin like tht. i tried everything he's said but i've had no luck. can anyone out there help me if u didn't get tht, i want vb to type in a webbrowser bit which is in my form when i click a button. ok a bit of an update ...Show All
SQL Server Export from SQL To SQL Mobile
Supposedly it is possible, but I can't figure it out... Simple - export data from SQL Server 2005 to SQL Mobile SDF. One would think to use the Export from SQL Server 2005, but no provider seems to exist. Or in VS 2005 - can't figure that either. Roger Euan, Thanks for your help. Now I run into the following: In the BIDS (you have to install this from the client tools for SQL Server 2005 BTW), I get several problems. First of all, In the VS ...Show All
Visual C# Windows client app permissions on remote server
Posted elsewhere but with no responce: C#, client=XP, server= W2003 I was wondering if someone could give me a shove in the general direction I should be heading. I have a windows service running on a server. It watches an Import folder, and when a sub-folder appears there, it takes it, processes it and then moves it to a Completed Folder. If any error occurs, it moves it to an Error Folder. I created a client application, which ...Show All
SQL Server Run SSIS Package from SQL 2000
I am looking for a way to execute an SSIS package as the next step in the SQL 2000 Agent, with the first step being replication. Can I reference dtexec.exe on the SSIS box to execute the package located in the file system Thanks JWeil wrote: ... Can I reference dtexec.exe on the SSIS box to execute the package located in the file system Yes, should work. Agent in SQL 2000 has a limitation ...Show All
.NET Development How to get a result from a query
Hi there, I am studying VB for the very first time and in the project I am developing I need to check if the user that is trying to log in the database is a registered user. To do that I take the UserID and the Password from two textboxes: UserStr = Me .txtUserID.Text UserPass = Me .txtUserPassword.Text But I need to check this in the database. I already bond my datasource to the form and the following code it is suppose to check ...Show All
.NET Development differences between XML and HTML
I am always using HTML to make my website, http://www.drivehq.com/web/cindy0412/ but now I'a like to use XML, I wonder what's the main differences between them Whether I can change HTML to XML directly Thank you! Hi, You can make a start on XML here: http://www.w3schools.com/xml/default.asp Regards, Vikram ...Show All
SQL Server Restoring Analysis Services Database backup from SQL 2005 CTP June to SQL 2005 RTM
Hello I need to restore a SSAS database backup from SQL 2005 CTP june to SQL 2005 RTM. Doing so, i get the error: the backup metadata is damaged ... I tried various SSAS databases. I am able to restore other databases like Adventureworks, Adventureworks DW. Kindly help. Thanks Try scripting your database with CTP and then re-create and re-process it using RTM version. Edward. -- This posting is provided "AS IS ...Show All
Visual Studio 2008 (Pre-release) Expression Trees
I am having serious trouble understanding exactly what an 'expression tree' is, and I can't seem to find an adequate and explicit explanation anywhere. All I can seem to find is the one-sentance, that is: "Expression trees permit lambda expressions to be represented as data structures instead of executable code." But what does this mean You're along the right track there. Here's a simple example ...Show All
Software Development for Windows Vista WorkflowPersistence question
I'm trying to write fullblown WF persistence service, and so far I was good. I had no problems with Instance save/load methods. But now I stuck with Load/Save CompletedActivity... How do I get ContextGuid of the completed activity, if all DependencyProperties are internal/private Documentation points to void pages How do I something like this in non-MS assembly: Guid contextId = (( ActivityExecutionContextInfo ) activity . Ge ...Show All
