Hassaan Nasie's Q&A profile
Community Chat Question with Vista
Sorry this might be misplaced Will Vista be able to run Xp programs such as games and files Another thing is would you suggest having 2 opperating systems and if yes should I have a seperate drive Will this affect my computer by slowing it down having 2 OS's thanks Yes, Vista should be able to run XP applications without a problem. Having 2 OSs installed concurrently shouldn't cause major performance problems, other than the fact that it might increase drive fragmentation. If you've got a "dual boot" system, it will only run one or the other OS when you boot up the machine, so even though they're both present on the hard drive, only one at a time is running. ...Show All
Windows Forms SMTP.
How do I find out what my SMTP is If you do not have a server running on your local machine you’d need to check with your network administrator, ISP or host provider to find out what you should use. To check your local machine the easiest way is to simply open up a command prompt and type in the following and hit enter: telnet localhost 25 If you can successfully connect then you’ve likely got one, if not then you don’t or it’s off (and turning it on would depend on what server it is). ...Show All
Microsoft ISV Community Center Forums VBA Excell Autofilter
I've used these for some time and I must be forgetting something basic. Where can I get error checking information on building the autofilter function into an Excel Macro. Something must be wrong with one of my ranges or my data. Can't figure it out. Thanks much, Bob The code used for a macro autofilter is: Range("DataRange").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:= _ Range("CritRange"), CopyToRange:=Range("FiltRange"), Unique:=False I've used this several times. There must be something wrong with my data or my ranges. This code works for several applications I've built. Why it doesn't work for this one I don't know. I think there are some basic guidelines for the data and t ...Show All
SQL Server Creating UserInstance DB at application startup
Hi, I'm developing a WinForms app that will be deployed via ClickOnce deployment and that uses SQLExpress as a local data store. In order to avoid the upgrade DB problem, I'm having my application check for a database and check its version on startup. I am able to successfully create the database if it does not exist, but when I try to connect to the new database, I get a login failed error. However, if I restart the app, it is able to connect to the newly created instance. Here's what I'm doing: If the db does not exist, I connect using this connect string: Data Source=.\SQLEXPRESS;Integrated Security=True;User Instance=True;Connect Timeout=60 I then issue a CREATE DATABASE command and run my table scripts. I then try to reconnect as D ...Show All
Visual Studio Team System Call unit test from Build
We are using MSbuild to build all the csproj files ( we do not want to use .sln file) . What happens is the RunTest target is running before the actual compilation happens and as a result of this all the unit test fail because the assemblies are not yet built. We need a way where-in we should be able to compile all the csproj and after the compilation is done we need to call the RunTest target. Any idea how to do this Note : we need to compile all the assemblies only project by project and not entire sln ( Solution file) at one shot. How are you using MSBuild to build the csproj files Did you add the csproj files directly to the <SolutionToBuild> item group in TfsBuild.proj, or are yo ...Show All
Software Development for Windows Vista Vihang's Re-hosting Workflow Designer example errors
Vihang, I am receiving the following message when using your Re-hosting example code: Property value is not valid. The Service 'System.Workflow.ComponentModel.Design.IExtendedUIService' musy be installed for this operation to succeed. Ensure that this service is available. Have you seen this before Is there a reason I cannot view the Invoked handler in the properties windows I look forward to hearing from you soon. Thanks in advance, John P. Here is a template - the implementation is up to you really, although you could just take out the exceptions and it will work and be a no-op service. I am guessing the method that is being called is NavigateToProperty. You'll have to add this as a service (I generally do ...Show All
Visual Studio Team System File checkin said resolve changes as server was newer, and it wasn't?
We noticed an issue when a delveoper shelved his changes, I unshelved his changes into my workspace, tested and then went to checkin and it reported that two files on the server were later versions than what I was checking in. This seemed impossible since the last change in one of those files was on 10/30/06 and it's now 11/15 and the changes we had made had just been done today. When something like this happens how can I track down the issue I believe the file I am checking in is the latest but want to verify my assumption is correct. How could something like this happen Thoughts I had was that maybe my workspace that I unshelved into was at an older version, but shouldn't unshelving the other developers shelveset have up ...Show All
SQL Server more membership in "master.sys.login_token" than "net group"
Hi. I'm investigating whether I can lock down a feature exclusively to only those who belong to a certain domain group. From what I understand, the master.sys.login_token view holds information on all the groups I'm a part of. However, I'm looking at the output from SELECT * FROM master.sys.login_token and see a number of groups that I can't verify I have access to. I have even run the DOS command " net group <domaingroup> /dom " and don't see myself listed in its output. Is this normal Is the output a culmination of everyone logged in at the time @@version = 9.00.2047.00 Thanks for your quick response.... I guess what's shocking me more than anything is the fact that sys.lo ...Show All
Windows Forms installer with textboxes
I have textboxes with my installer and I pass those values to a function. How can I disable the next button on the installer until the textboxes have been filled out The only way to do that would be to edit the .MSI after it is built. It's a bit advanced, but the built MSI and the Windows Installer documentation can help lead you to how to do it. ...Show All
Visual C# show large image (more than 10000*10000) problem
some one can help me I want to show a large bmp photo on panel or form,how can i do if i use this code it don't work. Bitmap bitmap1 = new Bitmap("c:\example.bmp"); this image is a map. someone tell me can use memory mapped method ,but i can't known ,somebody can give me a example.thanks! ...Show All
Windows Forms error when refreshing dependencies
Hi We've updated our visual controls to the latest release version (infragistics) and need to refresh the dependencies on the setup and deployment project - when I do this I get an exception, with the message "The operation could not be completed. Exception occurred." Thanks Bruce S'pose I could try that - worried it might make matters worse though Build messages I get include: Error 11 Unable to update the dependencies of the project. The dependencies for the object 'Infragistics2.Win.UltraWinTabControl.v6.2.dll' cannot be determined. C:\dev\ardex\premierV6\Ardex Premier Installer\Ardex Premier Installer.vdproj Ardex Premier Installer That is the version which has been superc ...Show All
SQL Server Subscriptions invalid after SP applied
Hello, I finished applying SP 1 to sql2k5. Under the replication monitor all of the subscriptions now look like [].databasename when they were originally [subscriber1].databasename. Under Mgmt Studio I see the subscriptions correctly. When I try and replicate I get the message "The subscription to publication 'pub_databasename has expired or does not exist." I have tried to reinitialize the subscriptions but it doesn't work. Is there a way to solve this without have to drop the subscriptions and add them again as I do not want to lose the changes that were made on the subscriptions. We are using merge replication. Thanks. John We have also come across this issue applying both hotfix ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Tell us about your website or game!
As part of our effort to reach out to the XNA community, we would like to create a special community page on the XNA Developer Center that links to YOUR site or game. Here's what you need to do, send me (David Weller) an email (click on my name link to the left of this post for the email address) telling me: 1) Your name 2) Your contact email 3) Your website or game 4) (Optionally) If you send me a link to your game, please let us know if you give Microsoft permission to use your game as part of any press-related activities we might do (i.e., incorporate a screenshot/video of your game, etc.). Please don't reply to this post with links to your site/game, I need the information emailed to me. Thanks! I can totally ...Show All
Visual Studio Express Editions Console Application
What can you do with a console application ... have really no idea Can you make an email application - so when you type in a certain thing, it'll send an email (FOR EXAMPLE) Generally console applications take some command line parameters to do some work. The User Interface on them is normally rather limited to very simple textual output rather than windows applications which have a much richer user interface. You you make an console application which sends an email, sure but it wouldnt be a very rich UI and would probably have some limitations. An example may be executed something like Email.exe abowles@xyz.com "test email message" to send the message "test email message" to the email address abowles@x ...Show All
Visual Basic efficient storing and programming for data
Rebuilding an application from DOS to Visual Basic, I have several questions, mainly concerning storing the (relational) data (SQL). If I want to reuse code, I could use classes. I.e.: there are employees, customers, company's. They all have names, adresses, phone numbers, etc. I could build a class with these fields and create other classes which reference to this one. But how do I save the data stored in the objects created from the classes to an SQL server By programming to populate each and every field of database with the data in the objects This doesn't seem very efficient. And if I add a field, I have to rewrite the code. Could you just store the entire object as a record in the database Databinding is another option, but then I al ...Show All
