texwalker's Q&A profile
Visual Studio Express Editions Help with databases
Hi I have a database with about 20 columns one of which is vehicleNumber and one of which is temperature. I have many different vehicleNumbers. When the user types a vehicleNumber into a text box I need to collect all the temperatures for that vehicle and find the average temperature. I am not using SQL, I'm using an access database with the dataset and all that. I found a little information suggesting a dataview. Can anyone help me Just t ...Show All
Visual Studio Tools for Office Publishing Issue VSTO Word Project
I can run this project fine in Visual Studio. When I publish the project the Word document can be opened from the shared network drive but it isn’t populated with data and the action pane is not visible. Any ideas This is my experiance, with an Excel VSTO excel file on a client box and the assemblies on a remote computer. Client needed to be updated to 2003 SP1 of office. Client needed the d ...Show All
SQL Server Filter parameter based on prior parameter
Hi guys, i have some report parameters that are dropdowns, and i would like to use whatever is selected in them to filter subsequent dropdowns. I know that the report designer automatically makes parameters dependant on each other, but that has been stripped out of the rdl, i need to replace it with more targeted filtering. So assuming that parameter A and parameter B get their values from a dataset, how can i filter parameter B's conte ...Show All
.NET Development System date
Hi there.. In my program I want to show show the current system date in a textBox. How can that be done I read about DateTime structure but couldn't understand it well. Thanks in advance. Hello. You would just need to do something like the following: this .textBox1.Text = System.DateTime.Now.ToShortDateString(); ...Show All
Smart Device Development SNAPI (State and Notification API) Rules!
I just wanted to comment that I think SNAPI is one of the most underated features of Windows Mobile 5.0. For those of you who don't know it is a new feature of Windows Mobile 5.0 that allows you to track the various states of the device. I can't believe how useful it is when writing mobile applications (especially when I want to know the state of my netowrk devices). I just wish it was better documented. ...Show All
Windows Forms weird app behavior: No exceptions thrown!
Hi... This is driving me crazy and I really hope I can get an answer soon Take a look at the piece of code below (I'm using .net 2.0): try { double pointTime = XDate.DateTimeToXLDate(point.time); double pointValue = Convert.ToDouble(point.value); list.Add(pointTime, pointValue); } catch (Exception ex) { & ...Show All
Software Development for Windows Vista How to create custom state activity with StateInitializationActivity?
Hi, I created the following custom activity MyState MyState : StateActiivty {} The problem is I can not add "StateInitialization" activity to my custom state activity. I tried to create "StateInitialization" in code but the compiler gives me errror saying "Cannot modify activities collection ..." If I use MyState activity in a state machine workflow, then it allows me to add "StateInitialization& ...Show All
Visual C++ Dialog Resizing in Japanese XP
In an 8-year old MFC/MDI project under Visual C++ 6.0, I use the default 8-Pt. MS San Serif. For the first time I have heard from a Japanese XP customer that the dialog is being resized and labels are being shifted and/or truncated. Experimentation showed that I could easily reproduce the behavior just by changing font dialog. I assumed that XP was replacing an unknown font with some more universal font. However, 8-Pt. MS ...Show All
Smart Device Development path not valid
I am trying to connect to a sql mobile database. the db is located at C:/PMIS Mobile.sdf I know the db is there, I put it there. but when I try to run it, I get path not valid. My code is below. Dim cn As New SqlCeConnection("data source =C:/Pmis Mobile.sdf") cn.Open() if anyone sees what I am doing wrong, please let me know. Are you doing this on device or emulator Devices don't have drive le ...Show All
Visual Studio Font changed when spooling report to a Dot-Matrix Printer
Hi, I got a problem when spooling a report to a Epson DFX-8000 dot-matrix printer. I used the ReportDocument.PrintToPrinter method to spool the report to the printer. The data was printed to the report but the font is not the one default in the report for this printer. The same was happened when using the report viewer control to view the same report. Default font in the report: Draft 12cpi, size 9 Crystal Report version: 11 Please h ...Show All
Visual C++ Convert double to char
Hi, Can someone please explain to me how I convert a double variable to char, and then even how I convert it back to double from char Thanks! 'Look at the sprintf() function for converting a double to a string, it is easy and does not require inserting the decimal point.' hmm...that was something new to me. Maybe I can use that instead of _fcvt_s. Thanks! ...Show All
SQL Server Problem with Slowly Changing Dimension-transformation
Hi, I have a problem with the SCD-transformation in SSIS. I have a variable that holds the batchid for the current batch and I want to add this variable to the datapipline in the Data Flow Task. This is done by using a Derived Column, so far so good. The problem occurs in the Slowly Changing Dimension transformation where I do som evaluations of changed columns BUT I don’t want to do any evaluation of the batchid-variable because then all histor ...Show All
Visual FoxPro Screen fields don't seem to be working...
As a quick question, If I have a screen that is part of a visual class (*.vcx) file and a program (*.prg) associated with it. Besides recompiling the program file and saving the visual class file, is there anything else that needs to be updated in the visual class file as well or something What is happening is for example, I have a checkbox in one of the screens, and a program that toggles it off if it is on at some point, but the applicat ...Show All
.NET Development Can web service replace DCOM based application
Hi, I'm new to .Net, and I'd like to know if the web service provided by .Net can partly replace the DCOM architecture (I have a DCOM application, contains COM in server side & client side, can I start to replace the server side by web service, surely by light modification in client side). And it will be very helpful if you could provide me the link for interesting article that comparing that with the DCOM or explaining how it's working.. ...Show All
Visual Studio Can VS 2005 installed on Windows XP SP1
Hi, Is there any possibility of installing VS 2005 on Windows XP SP1 operating system. I read the prerequisites of installing VS 2005 from Adminreadme.htm file. The minimum requirement mentioned is Windows XP SP2. Any help is appreciated. Thanks Bhaskar ...Show All
