kramer's Q&A profile
Visual Basic Decent Source Code Site - Visual Basic 2005
Hi, Want to know if there are any decent Visual Basic 2005 source code sites available yet. Have lookt all over and can only find vb.net (which the conversion does not always do correctly) and allot of vb6 code. I have found that no matter how may tutorials you read and how many books you get none of them cover what you want to to cover. What exactly is it you want to cover Almost all .NET 2003 books are valid for 2005. The only real differences are in the .NET framework objects - there's a few new really useful ones (in .net 2.0), but all the techniques are the same. a couple of books I like are Visual Basic .NET pro ...Show All
Software Development for Windows Vista WorkflowRuntime.CreateWorkflow overloads
I have not been able to find any information about two CreateWorkflow overloads in the WorkflowRuntime class: CreateWorkflow(XmlReader workflowDefinitionReader, XmlReader rulesReader, Dictionary<string, object> namedArgumentValues) and CreateWorkflow(XmlReader workflowDefinitionReader, XmlReader rulesReader, Dictionary<string, object> namedArgumentValues, System.Guid instanceId) I have two questions: 1. Given that there are issues with argument passing and Xaml-only (or "no code") defintions, do these methods have any purpose 2. If yes, can you provide some information about the "rulesReader" ar ...Show All
SQL Server Problem encountered during the installation of Visual Studio .NET 2005 Professional on a windows 2000 domain PC
Hi ALL, I'd tried to install Visual Studio .NET 2005 Professional Edition on a Windows 2000 domain PC, and everything was fine except the last step (i.e. installing SQL Express). I got the error message "Microsoft SQL Server 2005 Express Edition x86: [2] Component Microsoft SQL Server 2005 Express Edition x86 returned an unexpected value. ***EndOfSession***". Further investigation on the error in "C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG" and found that "Product : SQL Server Database Services Error ...Show All
Visual Studio Using custom entities in VS 2005
I've just started using Crystal Reports with Visual Studio 2005. My web application has separate tiers for the UI, Business, Data Layer etc and i'm using custom entities and collections ( using the Generic List object ) to pass data. Also the UI gets the data via web services. Currently when creating a new report i'm trying to use a .NET Object - problem with that is it doesn't seem to list referenced assemblies, so i've created a local 'clone' object in the UI application & set that as the report's datasource. Is there a way around this Problem number two is that my entities use the Nullable types ( e.g. Nullable<decimal> ) ...Show All
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 to visualize here is a shortened example of my database: VehNum Temp 123 73 456 68 123 83 456 79 123 81 456 72 ...Show All
Windows Forms Modular Architecture Question
Hi All, I am in the early stages of designing a new C# WinForm app (.NET 2.0). Because of external interface hardware requirements, I would like to make it modular, in terms of being able to simply write a new .dll ( ) if a new hardware device is used (say, for example, a dll for thumbprint identification and a seperate dll for RFID). I am also considering using dll's to contain the View, Controller and possibly some of the Model portions of the app (MVC arch). So, I could use a config file to use dll A instead of dll B, which would also load a different screen when interacting with the hardware. This would also enable me to ad ...Show All
.NET Development Does WseWsdl3.exe support a parameter file?
I was under the impression that the wsewsdl3.exe tool supports the same parameters/switches that wsdl.exe does. However, I can't seem to get WseWsdl3.exe to use a parameter file. Is there some way to use a parameter file with WseWsdl3.exe Thanks, Erick Yes, the /sharetypes is not a value switch, try this: wsewsdl3.exe /type:webclient http://[service1].asmx http://[service2].asmx /sharetypes Thanks, Elena ...Show All
Visual C++ Simple prblem with VS.Net 2005 Intellisense
I keep having problems with the intellisense (IS) not working properly. That is, say I have a class Foo and I declare a variable Foo f; When I try to get the intellisense to start working by typing f. nothing comes up. To reporduce the problem in a simple setting here is what I have done. Create a new project, add a new class Foo. Now add a new member function to the .h file and call it OldFunction(). Problem 1: Click over to the Foo.cpp file and type void Foo:: and the OldFunction() does not appear in the IS list like it did in 2003. Problem 2: Now in your _main function declare a variable Foo f; and the OldFunction that you have j ...Show All
Visual C# ASP.NET in hosted enviroment: Missing __doPostBack js code
Hi!, I'm using ASP.NET outside IIS, in my own C# webserver, build on sourcecode from this article: http://www.west-wind.com/presentations/aspnetruntime/aspnetruntime.asp Now, I've come pretty far, though, there is one thing i still don't understand. When I render af page, with controls that use the __doPostBack javascript function, I get an error, because the js function isn't includede in the page the client receives, as it should be. Also, a stylesheet and some hidden fields should be included, but they are not. v2. When I run the exact same website in the webserver that comes with VS Web Developer 2005, those things are inline in ...Show All
Visual Studio Express Editions ClickOnce Install Problem
I have created a program on my Windows XP SP2 Machine using VBEE and I used ClickOnce to install it to a network share. I have already installed the dotnet framework on the pc (a Windows 2000 SP4 machine) and when I ran the install I got an error that the application was improperly formatted, yet I can install it onto my machine (and another windows XP SP2 Machine) perfectly. Below are the details. I am in desperate need of help with this as it is an application that our accounting department needs asap (and I have put a lot of work into!). Thank you in advance for your help. ----------------------------------Details--------- ...Show All
Visual C# Add Comment to File
Is it possible to add a comment header file to a file. Something in the form // filename.cs // Creation Date // Author // Copyright (C) ... The filename, date and author would be automatically inserted. I would like this inserted at the head of the file whenever I create the file. If this is not possible then if I could use some keyboard short cut toinsert it. Is this possible BTW I am using Visual Studio 2005 Yes, you can do this by using Macros, Check this link , http://www.codeproject.com/dotnet/VSNETBoilerplateMacro.asp ...Show All
SQL Server Query Regarding Condition 'Between '
Hi I have a table(CNT) with record in Cnt_Number (Varchar) as 'CNT01/2006','CNT02/2006','CNT03/2006','CNT04/2006','CNT05/2006'. When i use the following query it is returning only three instead of only four it should. How to resolve this select Cnt_Number from CNT where Cnt_Number between 'CNT01' and 'CNT04' It returns only Cnt_Number CNT01/2006 CNT02/2006 CNT03/2006 My Expected result was CNT01/2006 CNT02/2006 CNT03/2006 CNT04/2006 Kindly anyone help me in this regards Thanks in advance Hi, actually this is normal behaviour: Create Table SomeTable ( Cnt_Number VARCHAR(20 ) ...Show All
Visual C# Changing the msi installer default installation path
Hi all, I created a msi setup for installing a dll in client machine.The dll is installing fine. The problem is i want to change the default installation path with out using browse option . In msi installer the path is showing like "C:\Program Files\QP\Setup\" QP is my machine name. i want edit to "C:\Program Files \dll project \setup\" to default Can u give a solution for this problem. Thanks in advance. anup Hi Marinus Holkema Thanks for your solution solving my problem & fastest r ...Show All
Visual C++ load dll by LoadLibraryEx
I use this API to load dll. I get the dll files name in the windows registery. Normal the file name is OK. Sometims the file name will be "%systemroot%\system32\abc.dll". After I replace %systemroot% with "c:\windows", it works. But sometime the file name will be "C:\PROGRA~1\MICROS~4\MSSQL\BINN\RESOUR~1\1033\SQLEVN70.RLL". And the LoadLibraryEx will fail to load. And I do not know how Are you certain that the filename is causing the function to fail I mean, there are other reasons why LoadLibraryEx may fail, this includes bad Image format (no resources, or missing PE sections), resource numbers being ...Show All
SQL Server Object reference not set to an instance of an object.
Help Please! I have installed SSRS and it works fine under Windows Authentication, the problem is I need to use Forms Authentication. I can brows the ReportServer site however the Reports site gives me an error: Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [NullReferenceException: Object reference not set to an insta ...Show All
