Daniel Herling's Q&A profile
Visual Basic uint64 to date conversion
I created a class that returns the system up time. However the number it returns is a uint64 as thats what its base class returns. When i run the program it returns a value like this System Uptime = 94118 What want to do is convert this to a time and have it say something like 1 Day 22 hours 5mins and 30 seconds. However I a not sure how to do this, what does this number represent the number of seconds mins and what is a uint64 is that a 64bit integer If i knew say its the number of mins, then i know its a matter of just dividing by 60. etc.... Um, if you created the class you should know what it returns, shouldn't you ...Show All
Visual Basic COM Interop, Property Get,Let,Set Interface Attribute?
Hello, We are in the middle of a rather large piecemeal upgrade of our VB6 system to .NET 2.0. We started in 1.1 and have sence migrated that code to 2.0. We have done a few of our libraries to this point, and are gearing up to upgrade a lot more of them in the next month or so. We ran into a problem in our first library that required a rather nasty fix and I was hoping someone could point us to a better solution. Problem: The problem we are having is in VB6 we defined many properties of type Variant for the sole purpose of being able to store Null. These properties are typically used t ...Show All
Visual Studio Team System Calling Declarative Tests
According to Rob Caron's blog ( http://blogs.msdn.com/robcaron/archive/2005/05/17/419001.aspx) it should be possible to call "declarative tests" from "coded tests." I can call another coded test but is it possible to call a declarative test Thanks Kevin, It is currently not possible to run a declarative test from within a coded test. Even running coded tests within coded tests is not fully supported in this release. Josh ...Show All
Visual C# Read BarCode
hello,, im wondering how to read barcodes with a barcode reader,,, the barcode readers are ps2 and USB ... ,so whats the theory to read barcodes what APIS do i need,,, or what classes,, any articles about this would be great thx mig16 It depends on the BarCode reader, but most readers just emulate Keyboard input. So when you scan a barcode it just typed the barcode. Mostly you can configure the BarCode reader to at extra characters before or after reading so the input will be for example: 8003200456<tab> ...Show All
Visual Studio Team System Application Diagram: Windows Service
Is there a way to represent a windows service on the application diagram, other than using the GenericApplication Reading this thread I acn design an windows service. But I need more. Is there a way to represent a windows service hosting a web services I would like to define webmethods visually like I do in a web application component. Thanks for any help Moreno Borsalino ...Show All
.NET Development XmlTextReader
Been trying to read a simply xml file. Looked at and tried a few samples with no luck. Funny thing is, I do this all the time in actionscript. But, here is the xml file.... < xml version ="1.0" > < Parms > < Name > test1 </ Name > < Uname > test2 </ Uname > < PW > test3 </ PW > < Server > smtp.isp.com </ Server > < Pop > smtp.isp.com </ Pop > < Email > email@isp.net </ Email > </ Parms > And here is a sample I have been trying to get to work. XmlTextReader myReader = null ; myR ...Show All
Visual FoxPro =SYS(1037) on VFP90 no longer allows printer changes
Can anyone tell me how to work around the changes in SYS(1037) I used to call this with =SYS(1037) before printing in a batch (checks and invoices) and it no longer allows my customers to change the printer in VFP90 (no 'apply' button). The 'prompt' option in REPORT FORM works just perfect too, but I don't want to call it in a loop (too repetative.) Any ideas Thanks The problem was solved by removing ALL references to the printer driver and setup in the report form itself. Previous versions of VFP must not have been as 'pickey' (technical term) with regard to SYS(1037): Open *.frx with USE Find record with Objt ...Show All
Software Development for Windows Vista a state delay in a stae workflow machine
I have an application which host a state workflow machine, In this application , I have to define a delay for certain state, so I define an additional driven event who is managed by a delay activity , I defined the this event an the raiseEvent method in the communication service interface.. the problem I don't find the way to bind the drivenevent (in the designer) with the event which I already defined in the communication service interface..so what should I do If you want to call out to a service after the delay occurs you need to use the CallExternalMethodActivity. After setting the InterfaceType you c ...Show All
Visual Studio HowTo: Access instance of own property page
Hi, is it possible to access a specific instance of my own property page from my flavored project I need to modify a ComboBox on that page from my code. Regards, Jens Hello Jens, In general, property pages save their properties in the project or configuration. As a result the code that needs to access (read or write) those values would do that by accessing those same properties on the project/config directly. If you want to discuss this more in details, please include information about your scenario (is it configuration dependent/independent page, at which point in time are you trying to change the va ...Show All
Windows Live Developer Forums new here, 2 questions.
Hi,everybody. I'm new here,here I got 2 questions: 1.I know the MetaWeblog API now support MSN Space,anyone who can tell me the MetaWeblog.net support . net 2.0 or not 2.Anyone who got the windows application samples for download thx.. 1.I know the MetaWeblog API now support MSN Space MSN Spaces MetaWeblog API, version 1.00 MetaWeblogAPI and MSN Spaces 2, I have the Visual C++ CMsnSpaces class which supports MSN Spaces MetaWeblog API . But I'm sorry i can't provide it for you because i programming this for my company. If you realy want to know it, you ca ...Show All
Visual Studio Team System Error in Bug rate section
Hi I am getting this error in Bug rate section (and only here): "An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'AreaPathPath1'. (rsErrorExecutingCommand) The default members for the dimension 'Specified' do not exist with each other." I have checked all the report sections under "Reports" and they all seem to work except Bug rate. What can cause this Did you get this sorted I have the same issue and have checked that a) I have a Work Item of type Bug b) Analysis Services is running on the data tier. Any other ideas Cheers, Alan ...Show All
Software Development for Windows Vista autoexec
where do I get the answers for the questions posted in the forums You will get the answers here, or what do you mean Read this post for how to get general Windows Vista support. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=423586&SiteID=1 ...Show All
SQL Server Is there a way around using MAX Statement on Report
I have a report that due to being unable to find a successful solution across the web relies on me using a value in a box as shown below; =MAX(Fields!budgeted_net_rent.Value) The problem I now have is that I have another field on the report and want to a =SUM on it and it tells me that you can't do that unless it is a header or footer and something about being part of an aggregate function. How can I fool SSRS into placing the value for this field into a sperate box so that I can complete the calculation I need to do. This report uses various drill throughs etc. If it is relevent, the value that I want to perform the calculat ...Show All
Visual Studio Team System Do we have a guide for RC to RTM upgrade?
Hi, I am not sure if the RTM version is released in MSDN but is there (or will be ) a guide RC to RTM upgrade Thanks, Yes, refer to http://blogs.msdn.com/robcaron/archive/2006/03/17/554115.aspx Rajesh ...Show All
Visual Basic Visual Basic Winsock and MySQL
Hello . . . :D I need some help please . . . I have install and run the MySQL Server true Visual Basic. I have set the server running on the 4405 port. How can i see if realy the server running looking the port true winsock I would use the mysql dotnet connector for connecting to the server. With sql server you can specify a non standard port for the server in the connection string. I believe it is the same with mysql. server = mysql.brinkster.com,4405; database = YourDbName; ...Show All
