C#leve's Q&A profile
Visual Studio Express Editions .Net Framework path & file name
Hi A program I installed requires the path to the .net Framework. Also whats the name of the file I'm looking for The Documentation with the free edition of objecteering 6 (Universal Modeling Language for C#) doesn't really help . Thanks The install path is %WINDIR%\Microsoft.NET\Framework\vN.N.NNNN (where N.N.NNNN is the version number). The directory contains a lots of files, I can't tell you which one you're looking for. ...Show All
Microsoft ISV Community Center Forums need advice
Im trying to create a script/macro to open mydocuments,then select the 1st file in the folder and open it , wait 30sec , then close it and go to the next file in the folder and repeat this untill all files in the folder have been opned for 30 sec and closed , is this possible with a macro or do i need to do this in dos. Thanks in adavnce ---skyby--- There is an example function using the FileSearch Object in Working with Files and Folders in Office 2003 Editions A few changes are required: Instead of .LookIn = "c:\" replace with .LookIn = "c:\documents and settings\your_username\my documents\" In the For Each...Next loop insert Workbooks.Open varFile Application.Wait Now + TimeValue("00:00:30" ...Show All
SQL Server Newbie Merge replication question
Hi! I'm setting up a merge replication for sql ce. Ten guys with windows mobile 5 pocket pc works as service technicians and need to synchronize data in the field. The backend database is huge and I just want each person to have their own data on the pda and synchronized, they have unique userid's in the database. Is it possible to filter data for each person or do all have to have all data that's in the backend database /Magnus Could I use a "translator" table to translate suser_name()'s to applications userid's Then in the filter query against this table to identify the user One solution could be to have one Publication for each employee Yes it would become messy to administer. But my problem can't be unique. Ho ...Show All
.NET Development Setup .NET 3.0 fails
I'm trying to install .NET 3.0, but the installer fails. I have Win XP SP2, VS 2005 SP1, .NET 1.1 + hotfix, .NET 2.0 + security update. I already tried the most commonly suggested things: CardInfo (service not found), registry keys (don't exists), IIS (no effect), web.config, SubInACL.exe (no effect)... Parts of the logging: (can i attach a zip to this post/thread ) dd_wcf_retCA2595.txt ServiceModelReg [11:50:04:062]: Uninstalling: Machine.config Section Groups and Handlers ServiceModelReg [11:50:04:078]: Warning: Configuration section system.serviceModel does not exist in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config. ServiceModelReg [11:50:04:078]: An error occurred while writing the previous entry to ...Show All
Windows Forms Number the rows in the Datagrid
Hi Is it possible to number the rows in the datagrid in the first grey column Thanks in advance Thanks for this reference. It has so much info regarding datagridview. I'll work through that example and hopefully i'll come right. But i should. Thanks a million. ...Show All
Connected Services Framework Is CSF essentially an ESB?
Is CSF essentially performing some of the same role as an Enterprise Service Bus (ESB) product such as those available from vendors such as Sonic or IBM If not, how is it different A follow-up question - can one assume that session mgmt is a combination of "ESB"+"run time goverance"+ orchestration ...Show All
Visual Studio 'Add New Item' Wizards fail without a project?
When trying to use an "Add New Item" Wizard template from VS 2003 when no project is open we're getting an "Invalid Parameters" error. The same wizard works when adding a new project item, works in VS2005, and works in VS2003 when invoking it via DTE.LaunchWizard. Is this a bug in VS2003 Are there any workarounds This is a known bug in VS 2003 where the solution node does not properly support the necessary interface to add items to the solution. To make this work, you need to create the Misc Files project folder, and add the item to that folder. The problem is, there is no way to automatically create the folder node, it must exist before you try to add the item. This has been fixed in ...Show All
Visual C++ Porting DLL from VS6 to VS.2005 no longr loads (Manifest problem?)
I'm relatively new to VS.2005. We've been developing and deploying our DLL using VS6 and the DDK (depending on the partner) since I can remember. I installed VS.2005 Pro (Version 8.0.50727.42), tried upgrading my projects (one is the DLL itself, the other is a stand-alone test harness that loads it and tests it by passing it various parameters). So, of course, I'm not positive the projects have all the settings correct. With that caveat, though, I'll explain what I've tried. The test app calls LoadLibrary() with the full path to the dll, and the call fails with error code 14001. After some searches online, several people appeared able to solve this problem by somehow correcting or eliminating their manifests. That led to me to learn ...Show All
Visual Studio Team System SQL Integration Services support
Hello, Is it any special SQL Server 2005 Integration Services support in DataDude Or maybe it will be in next versions Thanks Hi We do alot you to do a schema compare between project and database or from database to database. Schema compare is accessed through the project via Right Mouse clicking on the database project node and select Schema Compare. It is also availible off the Data high level menu in Visual Studio. By Server Browser do you mean Server Explorer. If so that's not really Integration services support. mairead PM, TS Data ...Show All
Software Development for Windows Vista Upgrade from XP to Vista deletes registry key and breaks service application
Hi, We have a service working perfectly fine under XP. It also works perfectly fine with a fresh install on Vista. BUT, If the service is installed on XP and then XP is upgraded to Vista, the service stops working. We found out that during the Vista upgrade it deletes the registry key which is the GUID of our service: HKCR/AppID/{ OUR-GUID } if we set the GUID back then the service works again. Any reason why the upgrade process would delete this Key And what do we need to do so the Service keeps working Thanks. The registry entry was created by the code automatically created by Visual Studio 6 when you decide to create a new 'Service' project. I would expect that Visual Studio would cr ...Show All
SQL Server Not send email if not exist data
Hello friends I have a report that parameter is the date, and this execute every day, somedays this report give back information and other nothing, my question is, how do i make this report when not give back information it don't sent by email, only send by email when this give back data. This report is configurate to send every day en the sheduler. Thank you The only way to do this with builtin functions is to make a datadriven subscription (wich is only available in enterprise or developer edition). If you don't have the enterprise edition but a bit of time you could make your own delivery-extension wich executes a sql-statement internally and then triggers another subscription if data was found.. If you are familiar with .ne ...Show All
Visual Studio Team System Error 28925.TFServerStatusValidator: Calling the Team Foundation Server ServerStatus Web service failed.
Hello, I'm installing TFS on a machine with Windows Server 2003 R2 with SP1, SQL Server 2005 Enterprise Ed. with hotfix installed, SharePoint Services 2.0 with SP2, IIS 6.0, NET framework 2.0 with hotfix. Always following the installation guide. I get this error during TFS install: Error 28925.TFServerStatusValidator: Calling the Team Foundation Server ServerStatus Web service failed. Additional details about the problem can be found in the setup log. Verify your network configuration. For more information on troubleshooting this error, see the Microsoft Help and Support Center. I've taken a look at installation logs and found that it is a "unable to load assembly" error. Trying to use http://localhost:8080/services/v1.0/ ...Show All
Gadgets wia image format
Hi all, I have the following jscript code to acquire images from a camera in ie7. It works fine but stores images in bmp format. Can anyone tell me how to get it to store jpeg format changing the filename in MyPic.Transfer to ".jpg" doesn't do the trick. It will just save Nothing! thanx in advance objWia = new ActiveXObject("Wia.Script"); MyDevice = objWia.Create(null); AllPics = MyDevice.GetItemsFromUI(0,0); MyPic = AllPics(0); MyPic.Transfer("pic.bmp",false); delete objWia; I messed with some WIA stuff before. Here is a good vb reference but I'm not sure how you would implement it in Javascript Item item = device.Execute Dim item As Item = device.ExecuteCommand( ...Show All
Visual C++ Help with Thread scheduling
Hello, I am trying to create two threads such that Thread-1 runs every 20milliseconds and Thread-2 runs all the time. Thread-2 is basically preempted or suspended till Thread-1 completes operation and again gets resumes operation. I am new to using threads, but based on some sample code I have managed to create threads. But I don't know how to schedule them in the above fashion. Its necessary that the Thread-1 runs absolutely every 20ms. I was trying to use the Sleep function but it somehow doesn't give deterministic Sleep times. Could anyone suggest how I can schedule the threads in the above fashion. Thank you, Suraj. FirstOfAll for Scheduling you can rely on WindowsAPI s to make the Thread 1 Highest Pr ...Show All
Visual Basic functions : does return end code path?
Simple little question, just curious if calling return inside a function will end the code path for example function test (byval testvar as string) if testvar = "a" then return("you selected 'a'") ElseIf testvar ="b" return("you selected 'b'") End If 'some more code Return("some stuff") End Function So if I pass this function "a" will the function return "you selected 'a'" or will the code continue to execute after the if statement and return "some stuff" instead When a return statement is hit, the method will start it's termination process. If there is no finally block wrapping the statement, the method will immediately return. If a finally block exi ...Show All
