Michael_Giagnocavo's Q&A profile
Visual C++ VS 2005 Glitch
I'm not sure if anyone has already reported this, but a very amusing glitch i'm getting crashes 2005 when i close the parenthesis for a float typecast like so-- float(x) // BANG. It's happened three times to me tonight... ...Show All
SQL Server Silent SQL SE 2005 install headaches...
Yet another roadblock: Does the standard SQL SE 2005 not install any of the query commands (isql, isqlw, or osql.exe's). I could have sworn that they were, but every time I go to test the install on my VM none of them are ever installed. If it doesn't is it included in the advanced version of it (which I'd really rather not do) If still no what's the easiest option I still have open Can I have my app connect to the master db and run a restore script from the app I've been arm wrestling with this install for over a week and it's just about brow-beaten me completely. TIA, Jayyde Sorry for not replying sooner. I actually just got so frustrated that I just kept the .bak file there and have my app look ...Show All
.NET Development How do I specify paramaters from my SqlDataAdapter.Update method?
Hello, I have some code that takes the data from my local machine and then sends it across the network to an SQL server 7.0 backend. Here is my code: myDS.Tables("tblName").Rows.Add(myDataRow) mySQLDataAdapter.Update(myDS, "tblName") The problem that I am facing is when the second line runs, it adds to the data that is already in SQL server 7.0. What I want it to do is update the data on the network where the ID from the local machine is the same as the ID in the data on the network server. Is there a way to specify logic in the SQLDataAdapter.Update as such... mySQLDataAdapter.Update(myDS where id = id, "tblName") Thanks in advance. Hi, the pr ...Show All
SQL Server Parameter Dependency
I have 2 parameters in my .rdl. Param1 and param2 both have available set of values and param2 is multi valued. 1. I would like that after the user select a value in Param1, an event or something would be triggered that would populate Param2 i.e. make selection in param2 I have tried implementing the same by making default parameters of param2 from proc whose input parameter is equal to value in param1. The values in param2 gets selected when value in param1 is selected but this happens only first time, until page is refreshed again. I am looking if param2 could make selection if param1 is changed And it should also be available for independent selection. Thank you. ...Show All
Windows Forms ClickOnce file extension registration
In the ClickOnce FAQ at http://www.windowsforms.net/FAQs/default.aspx PageID=2&ItemID=17&CategoryID=24&tabindex=2 it says: "Some low impact tasks such as file type registration can be achieved with first time app-startup logic in your application" How can I register a file name extension which will invoke my ClickOnce deployed application If one can find the .exe on disk and register this one then ApplicationDeployment.IsNetworkDeployed is false. So this seems like a dead end. Any help would be appreciated. /Lars I would actually advise against using ClickOnce and use MSI instead if your application needs to register file extensions. This release of ClickOnce does not provide& ...Show All
SQL Server Two report parameters: "Please select a value for the parameter...."
I’ve build a report with Report Design. On this report I want to show the items customers bought. In this report I added a Report Parameter so the user can select a specific customer. I made an extra dataset and use the filter =@customer and this parameter works fine. Then I want to ad a second Report Parameter: the salesperson. When I leave one of the parameters blank, I get an error "Please select a value for the parameter....". Even if I choose the options allow blank or null values, I get this error. What I want is de possibility to get all the records, to filter records from one specific customer or to filter records from a specific salesperson. The code above doesn't work. The OR operator ...Show All
Visual Studio How to group class fields,properties,etc into one toc treeview node each
Hi there... Have anyone here able to group all the class propery, method into their own group and each have their own treeview node For example in the help table of contents (toc) there is fields treeview node, once the user click the node the tree view will expand and show all the fields that the class have. Just like what they did in the overloading function. im using the sandcastle help file builder gui.. thanks in advance.. Namix, Check out this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=944516&SiteID=1 The second post (from Anand) states that this feature will be in the December CTP. David ...Show All
Connected Services Framework Product Service mapping to be loaded at runtime
hi, I receive a request from my order management system which has some product information. Based on this product, i need to pick up the services that have to be provisioned. Also i Need to know the which methods of the services have to be called. What is the best way of doing this One option that i have: 1. OHSBE receives request from OMS. 2. OHSBE sends request to Service Logic. 3. Service Logic sends a request to Product Service Mapping (which can be implementd as web service) and returns an XML.Can this service also return me actions 4. and then Service Logic calls various services. Services to be called is determined at run time. How can Service Logic be modelled for the same using C# or using BizTalk Any he ...Show All
.NET Development Multiple database connections
Hi, I am at a crucial junction of my application (using VStudio 2005 Pro, C# and SQL server 2005 Express Edition) where I need to copy data between different databases that my application creates. #1: Am I right in thinking you have to create multiple connections if you are copying data between the different databases (since SQL Server 2005 Express Edition doesn't have the advanced features of the higher spec releases) #2: How many connections can SQL Server 2005 Express Edition handle at one time #3: Can I make multiple connections to the same database Any rules on this #4: What's the easiest way in C# to handle multiple connections between databases (only one instance of SQL Server 2005 Express Edition will control the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirextX Version?
The Readme file notes that DirectX Runtime XNA Game Studio Express Setup installs the current version of the DirectX runtime. The runtime is required in order to use the XNA Framework game API. Does this mean XNA stuido is using the October runtime and if I install the october SDK is it going to break anything I have uninstalled the GSE Beta 1 and DirectX SDK August 2006, then I've installed DirectX SDK October 2006 and GSE Beta 2. When I am trying to run some project (starter kit too), I get error when initializing FBX file loader. Can It be the cause of I've installed Oct. SDK I've deleted August SDK :(. ...Show All
Visual Studio 2008 (Pre-release) WCF - ServiceKnownType with embedded reference to a Type object
I am working on a WCF service which implements a ServiceKnownType that has an internal reference somewhere to System.RuntimeType down deep. Here is a reference implementation sample [code] [OperationContract] [ServiceKnownType("GetKnownTypes")] public void DoSomeOperation(ComplexTypeWithTypeReference myObject) { //do work } public static IEnumerable<Type> GetKnownTypes(ICustomAttributeProvider provider) { List<Type> types = new List<Type>(); types.Add(typeof(ComplexTypeWithTypeReference)); object o = typeof(object); types.Add(o.GetType()); //cant just use typeof(System.RuntimeType) because of protection level return types; } [/code] I have work through all the errors about System.RuntimeType bei ...Show All
SQL Server How can I hide leaf level members of a ragged dimension ?
I need to hide leaf level members of a ragged dimension. Any thoughts My original approach was through roles (security), but I am open to other suggestions. Maybe I need to generalize this. Is it possible to hide lower levels of a heirarchical dimension Specifically, I have our corporate organization, with the following heirarchy: CEO-->ExecVP-->VP-->Director-->Manager-->Supervisor-->Employee. I need to be able to hide measures associated with leaf-level employees, and also selectively at the small group (supervisor) level. But security seems to work backwards--I can hide top level aggregations, but not the lower level. Any ideas ...Show All
Visual Studio Express Editions about array?
hi there i have a problem regarding array....here's the situition i'm supposing to count a number of area... so i used select command count to count... i want is to compute all the number of area and put the result in textbox...(each result has seperate textbox) txtbox1, txtbox2 and txtbox3... in my code below the dataset overwrite the result instead of to retaining and print the result of area(1) and area(2)... dim conn as new oledb.oledbconnecion("connectionstring") dim area() as string = {"area1","area2","area3"} dim i as integer for i=0 to 2 dim sqlcom as new oledb.oledbcommand("select count(*) from table where area ' " & area(i) " ' ", connectionstring) dim ds as new dataset() 'whe ...Show All
Visual Studio "Cannot copy <filename>" still occurs
Hi all, I am getting the infamous "cannot copy <filename> ... it is being used by another process" error after a Get Latest from Visual Source Safe. I know this error has been analysed and fixed in VS 2003, but I still get the error in my 2005 edition. Does anybody know a hotfix/solution to the problem in VS 2005 Is the filename in your temp dir or in your actual working folder Are you running any antivirus software Have you tried disabling it temporarily ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Framwork without XNA Game Studio?
Hello! Can I develop games with XNA Framework without downloading XNA Game Studio Express Thanks in advance! -Martin Yes, you can develop XNA games with VS 2005 Pro, it just isn't supported. Install C# Express (since GSE requires C# EE to be installed before it will install), install GSE, then uninstall C# Express if you want. Reference the XNA DLLs in a VS project and off you go. ...Show All
