DoS's Q&A profile
SQL Server How To: Variable File Names when exporting a report to a File Share
I'm exporting reports daily to a file share and I need to rename the reports with a pseudo time stamp. Example: I have a report named "Disk Usage" and when I export (using a data-driven subscription) I want to rename it "Disk Usage - (Jan07)" - or something to that effect. Can anybody tell me how to accomplish this. ...Show All
Visual Basic Lock (or fast user switching) question
Is it possible to get a program developed in VB.NET 2005 Express Edition to check if the user has "locked" (in other words pressed the windows key and L on Windows XP) a computer using VB.NET 2.0 code I tried searching the forum and found nothing. Thanks for that nobugz! Works fine! No problems with the goose chase, if you didn't send me on it i never would have found that! ...Show All
Windows Forms Setting the icon for a form
I created an icon, then clicked on the form, then went to the form's properties and set the Icon property to point to the icon file. What I want is the icon to show up in the title bar of the form, and show up on the taskbar when the form is minimized. But, this isn't working. I'm puzzled because I thought that was what the Icon property was for. Oh, the form's ShowIcon property is set to true. I'm using Visual Studio 2005 and working in C#. I checked and the ControlBox property is set to true. When I created the icon, I just went to to the Project menu, clicked Add New Item, in the dialog selected Icon file, gave it a name, and it created a 32x32 16 color icon. I modified it and that was it. I s ...Show All
Visual C++ Input data from an electronic compass in real time, how?
Hi, i want to input real time data from an electronic compass like this: http://www.ssec.honeywell.com/magnetic/datasheets/hmr32003300.pdfhttp://www.superrobotica.com/S320160.htm This is the first time i would do this, so i dont know what port or functions i should use. Can anyone give clues PD: the compass i link it not obligatory. Maybe you can tell me the features should have my compass to pass the data to Visual C++ cos that compass is not the best to connect to Visual C++... For such issues, please use the newsgroups at http://msdn.microsoft.com/newsgroups OTP Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio Express Editions Have I choose the right programming language for my project?
Dear all, First of all, I'm a total beginner who wished to create a software for my own small company. I read around about VB Express and SQL Express, and being free and supposedly easy, it caught my attention. Not to mention excellent forum support as well. I would like to ask for advices from the VB seniors here at Microsoft forum. I just want to make sure that VB Express will be sufficient to make a program that fulfill my desired feature: 1.Compiled as a standalone installation file. 2.Multi user capable. The program is to be run by several person in my company (probably 2 - 3 person) through local network 3.Password protected some specified table, so that only admin that can alter them. For example: item price in Item Table can only b ...Show All
Visual C# Dots and Commas
Calling Float.ToString() will generate a string where the decimal part is separated by a comma (on my Swedish comp). I'd like it to be a dot instead, mainly for compatibility reasons (file outputs etc...). Is there some easy way to change this, like some locale setting somewhere I'd prefer not to call String.Replace() every time I call ToString(). Using C#.NET on MSVC2005.NET you can also try ToString( "#.000" ) ...Show All
SQL Server Error in sql management express installation
Hi, I had earlier installation of microsoft sql server 2005 in my machine. Recently I installed the visual studio 2005 beta which comes with sql express and after going through many hoops(as it kept complaining about the previous installation of beta components) i was able to install it correctly. I was also able to also use visaul studio 2005 server explorer to connect to the SQLEXPRESS and create table etc... Now I wanted to install sql server management express so I downloaded SQLEXPR_ADV from te microsoft's website. During the installation it complained about the older version of SQL server management sutdio installed and hence could not install the sql server management express. By looking at different forums I found following st ...Show All
Software Development for Windows Vista Compiling DVAPP in Visual C++ Studio 2005 - video capture source code
I just installed Visual Studio C++ 2005. Nice that this is free. I have been able to follow other examples and tutorials to get example programs running One of the projects i am struggling with is reusing the DVAPP sample found in Microsoft Platform SDK for Windows Server 2003 SP1. DVAPP found in the samples: C:\Program Files\Microsoft Platform SDK\Samples\Multimedia\DirectShow\Capture\DVApp I have been unable to compile this code. What am i doing wrong first error is c:\program files\microsoft platform sdk\samples\multimedia\directshow\capture\dvapp\cdvgraph.h(14) : fatal error C1083: Cannot open include file: 'streams.h': No such file or directory I did a search and found no streams.h file at all. Hope there is some ...Show All
Visual Studio Team System Hide projects from users who can't do anything in them?
We have dozens of team projects in our TFS server for a lot of developers. Is there a way to hide the ones from the users who can't do anything in these projects Is this the permission that controls this < permission name =" GENERIC_READ " class =" PROJECT " allow =" true " /> The [SERVER]\Team Foundation Valid Users group has this permission and every user belongs to this group directly or indirectly by default. That is the correct permissions, but all TfsUsers can see every project from Team Exploerer if they select all(Projects) when add a project, but if they have only permission for read they can see the project in Team Explorer ...Show All
Visual Studio Team System Branching across projects
I'm looking for current thoughts regarding branching across team projects and support where you have common components that live in separate team projects. To keep this "simple" let's assume the following: Common Library projects - each contain a number of projects that are intendeded to be used by multiple "Products" CommonProjectA CommonProjectB "Products" - These are the end products, and each use either A/B or A&B - Each can release together or at different times ProductA ProductB ProductC - "C" agregates and depends on Product A & B of a consistent release Each Product A , B and C each have their own solution file that includes the relavent projects from CommonProject ...Show All
Visual Studio 2008 (Pre-release) something strange with RM
Hello, It is very very strange, if I enable RM and call to a service, the fith time I call to the server it doesn't connect and gives an exception about retry time or something. But always the fith time i call it!!! The other four work!!! I am using June version I know that I don't give too much info :( Here is the client config: < system.serviceModel > < bindings > < wsHttpBinding > < binding name = " bc " closeTimeout = " 00:01:00 " openTimeout = " 00:01:00 " receiveTimeout = " 00:10:00 " sendTimeout = " 00:01:00 " bypassProxyOnLocal = " false " transactionFlow = " false " hostNameComparisonMode = " Stro ...Show All
Visual C++ Can't dynamically load VC8 library?
I would say I am beginning to hate manifests... unfortunately, I am already well past that point. I have an application that dynamically loads a dll (i.e. LoadLibrary() ). It worked when I built with VC6. Now that I am trying to build with VC8, I get the following error: Runtime Error! Program: <path-to-my-program.exe> R6034 And application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information. I used to get this error trying to run the application itself, but was able to resolve it. Is there something special that needs to be done to use LoadLibrary now that one has to deal with these awful manifest things First, an externa ...Show All
SQL Server FYI: Using Try's with Finally
Within my script component I was having some difficulty getting nested Exceptions to bubble out of the script component logic. The symptom appears when you get an ex.message of "Object reference not set to an instance of an object." As soon as I removed the Finally section my message (or the actual Exception object) was properly passed to the caller. I've only done minimal work with Try/Catch/Finally structures. Is this normal Thanks, Jeff Tolman E&M Electric Is the sqlReader variable initialized Most likely, when the first exception occurs, sqlReader is not assigned anything. So when you try to close null object, you get the new "Object reference not set to an instance of an ...Show All
Visual Studio LocalReport is exported to excel format with the column headers only displayed on the first sheet not on the subsequent sheets
If the reportviewer uses the local processing mode, is there any way to display the column header on each sheet when the report is exported to excel format Thanks in advance. Could someone from MSFT help me out of here. Now I just would like to know whether it's implementable or not in the local processing mode. Thanks. ...Show All
Visual Basic Tried it , seems to work great for modal forms. but mdi forms ?
Hi VB Community Members, We wanted you to know about the release of the new Interop Forms Toolit 1.0. In a nutshell the toolkit makes it easy to create Windows Forms in VB.NET and then add them to an existing VB6 application. This makes it much easier to extend your VB6 app gradually and incrementally (form by form). This fits into our larger VB Power Packs initiative to deliver valuable features between Visual Basic 2005 and the next release, based on your feedback. We hope you get this today and try it out! Download page: http://msdn.microsoft.com/vbasic/downloads/powerpacks/interopforms/default.aspx Questions and discusions: Visual Basic Interop and Upgrade Forum Enjoy! Visual Basi ...Show All
