Yasir Alvi's Q&A profile
Windows Forms Forms / Web Integration
I have stumbled into the deep end of the pool and could use some help. I have a VB.Net 2003 WIndows Forms app that I need to integrate into a web environment. I need to perform the following: a) Validate that a good Internet connection exists b) Programmatically log onto a web site using userid & password provided by the windows app user. c) Authenticate that this is a valid account d) Pass data fields to a "program" on the web site to update tables in a SQL 2000 db e) Download a data table from the SQL 2000 db to update tables in a SQL 2000 db on the client machine (MSDE) I'm in foreign territory here and could use some direction in how ...Show All
Visual Studio Express Editions Is Visual Basic Express A Toy?????
Hi There This Dog Don’t Hunt........ From Visual Basic Guided Tour Managing Your Records: Using Data in Your Program In this section, you will learn about working with databases. This Section Flat A*S Does Not work.... It DOES NOT Update the Data Base.....Rendering this Version of VB Express to the TOY BOX..... It Ain’t Just Bronco.... Check The Forum for multiple posts saying the same thing...... This Edition is for Advertising and Not Production......... What A Shame Because It Was So PRETTY........ Cheers Bronco Billy "Beer and Fast Women are Ok... No Cigarettes or Hard Liquor Allowed so, don ...Show All
Visual Studio Express Editions Sending keys to a game
I tried to send keys using the "SendKeys" function to a game, and its didn't worked. How can I do it I used simple SendKeys. System.Windows.Forms.SendKeys.Send( "{UP}" ) And the game act like I pressed ESC and then up arrow. EDIT: I tried it on Counter-Strike. ...Show All
Visual Studio Team System Querystring parameters in recorded WebTest?
I have a multi-page webtest that creates a new company. When the registration page is submitted, it ultimately navigates to an address validation page passing the newly created companyId as a querystring parameter. It actually visits this page twice, once for mailto and once for billto addresses. The recorded webtest includes the querystring parameter (both times), apparently hard-coded to the value passed when the test was recorded. When I re-run the test, a new companyId will be generated and needs to be passed on to the address validation page. The correct value is passed for the first visit to the address validation page, but it is ...Show All
Software Development for Windows Vista WF custom persistence once again
I don't want to save my workflows zipped in a blob field in one table like default SqlWorkflowPersistenceService does. It is not transparent and flexible approach, saved data contains class type information, making workflow evolution almost impossible. I would be a happy WF programmer, If someone explains me how to load/save workflow instances in different tables depending on the workflow class name, layout workflow properties in different fields, so I'd be able to make SQL-queries, and globally update my workflow definition using just new a new WF assembly and sql change script... Or somehow simulate this behavior using ...Show All
Visual Studio 2008 (Pre-release) Passing parameters to services
Hello All, Hoping for a quick idea of the "best" way to pass simple parameters to services. For instance, I am developing a service that hooks into a SQL database for it's data persistance... anyone know the best way for the service's constructor to pull a connection string out the creating host Thanks, Rick You could store your data in an IExtension < ServiceHostBase > object (or at a different level if you like). See http://windowscommunication.net/ControlGallery/ControlDetail.aspx Control=2241&tabindex=2 for sample. Or you could subclass ServiceHost with additional proper ...Show All
Visual Studio Local Reports and their DataSources
Hi, I have a question on using the new Report classes in VS2005. I have an application where I want to provide a number of built in reports. I want to allow my customers to modify the reports to some extent if they require (for example put a company logo on them or reorder a few column in a table). Because of this I want to load a report from a file rather than an embedded resource. As for the data source for the report I was thinking of using a business object to provide the data either as a DataSet or a typed collection of some sort as I want to have control over who actually connects to the Sql DB, I don't really want any user to execute ...Show All
Windows Forms Databinding data conversion?
Is there a way to perform a data conversion or cast during a data binding operation I have a business object with a Priority property. The property's type is ProjectPriority , an enum with three values, High, Normal, and Low. I want to bind that to a user control property of type int , using a BindingSource control. The user control property can only return from 0 to 2, so the only issue is the type difference between the user control property (an int) and the business object property (a ProjectPriority). Because of the type difference, the data binding isn't working. I tested the business object property as an int, and the data bindin ...Show All
Visual Studio Express Editions Video tutorials
Hi, I've started trying to learn c# again because I gave up the first time. There were some video tutorials on the website by Bob someone but now I cant find them. Can I have a link to them if anyone knows what I'm talking about please Here's a great link for learning at a very, very reasonable cost: http://www.learnvisualstudio.net/ On this site are also some free videos. Microsoft is also pushing a free partner CD on MSDN from AppDev which is available at: http://www.appdev.com/promo.asp page=sn00027 ...Show All
Visual C# DNS MX record look up
Hi, I need to read MX records for a domain.. (email validation) I have been using VS 2003, C# and don't see a straight forward way to do it.. Everything seems to point to using socket, creating binary request and parsing response. I am not familiar with pointer so scared to use them.. any suggestions would be highly appreciated. Also, how to configure the timeout, saw the blocking vs non-blocking requests. Thanks, Shanti http://www.eggheadcafe.com/articles/20050129.asp ...Show All
Software Development for Windows Vista Problem with SQLStatePersistence
I added the sqlpersistence service to my Workflowruntime (with a valid connection string). I have two events that i will trigger: SubmitEvent, and ScanEvent.. When I call my submit event the workflow gets to a new state where it is waiting for the scan event..\ At this point the workflow instance is idled. Now when I raise the ScanEvent with the same instance ID i get an error EventDeliveryfailed for the instance ID.. When I look in the innerexception it says the workflow with the instanceid was not found in the persitence store (but when I check the database that instance is there). So I tried to add before raising the scan event WorkFlowru ...Show All
SQL Server Command Line Functionality
Is it possible to parse and/or find out the estimated execution plan of an SQL Query at command line without making use of the IDE See BOL. Search the index for SET SHOWPLAN. You will find various options. See SQLCMD for command line execution. Combine the two and you're golden. ...Show All
SQL Server Sql Express Advanced feaures
I am wondering an official answer on if Sql Express supports users creating their own reports and if it supports Integration Services or Analysis Services. Users can create their own reports as long as they ahve the report designer, there are restrictions on what can be done, source of data etc. ...Show All
Visual Studio Express Editions Error during install of V C# Express and V C++ Express
I seem to be unable to install either of these - anybody else having the same trouble The software downloads okay, but setup.exe throws an error (Microsoft .NET Framework 2.0 has encountered a problem during setup. Setup did not complete correctly.) Details: EventType : visualstudio8setup P1 : 183 P2 : 8.0.50215.44_beta2_x86ret P3 : msi P4 : inst P5 : f P6 : ca_installassemblydef.3643236f_fc70_11d3_a536 P7 : - P8 : 1603 P9 : - P10 : - I have pre ...Show All
SQL Server another question about bind object to Report
hi,all I download the Sample from http://www.gotreportviewer.com in the "InvoiceMaker" sample, the object like Custome can be bind to the Report directly, but in the "Object Data Source" Sample ,I Modify the " reportViewer.LocalReport.DataSources.Add( new ReportDataSource("Product", merchant.GetProducts()));" to "reportViewer.LocalReport.DataSources.Add( new ReportDataSource("Product", new new Product("Pencil", 30)))" there was an Exception with infomation:"Value does not fall within the expected range " ...Show All
