Software Development Network Logo
  • SharePoint Products
  • Visual FoxPro
  • Windows Vista
  • Audio and Video
  • .NET Development
  • Visual Studio
  • VS Team System
  • Visual C#
  • Microsoft ISV
  • SQL Server
  • Game Technologies
  • Visual C++
  • Windows Forms
  • Visual Basic
  • Smart Devicet

Software Development Network >> puhonien33's Q&A profile

puhonien33

Member List

vsvinuraj
Darren1
CK12
sl333
elianaca
Bill Oeftering
Sparklight
Sachi_SG
BowTie
bola shokry
Karthick Sukumaran
Gianpi
GSK_phili
Avi_harush
zenzai
Aatu
Deffie
Blkbird
PiGuy
kundalani
Only Title

puhonien33's Q&A profile

  • Windows Live Developer Forums Hide the scalebar in V3?

    I am working on upgrading from V2 to V3 and notice that I can no longer hide the scalebar I tried guessing around with the MapControl.Features to figure it out, but no dice. Any ideas In the virtual earth SDK they have a code to add a Hidhe and Show button. If that is what you want here is the code <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script src="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script> <script> var map = null; function GetMap() { map = new VEMap('myMap'); map.LoadMap(); } functio ...Show All

  • .NET Development Failed to update database because the database is read-only.

    I am building a Windows Forms application in VS 2005, using C# and SQL Server 2005 Express as the backend. When I try to accessd data from the db, it works with no problems. When I try to insert/update/delete, I get the following error message Failed to update database "DBNAME" because the database is read-only. I am using a connection string with the following syntax: "Data Source=.\SQLEXPRESS;AttachDbFilename=c:\PATH_TO_DB\db.mdf;Database=MyDB;Integrated Security=False;User Instance=False;User ID=USR;Password=PWD;" I have made sure that the permissions on the DB are set (in Windows) so that all users can modify. The user that is logging in to the DB has status set to DBOWNER. I have seen others experience the same problem - with ASP.ne ...Show All

  • SQL Server Report Model Wizard

    I created a data soure view that has tables from two data sources (both sql databases). when I try to generate a report model using this data source view, I get an "invalid object name" error for the first table it encounters that is not from the "primary" data source for the view. Is there something I need to do so the report model retrieves the connection strings for both data sources Any help is greatly appreciated. Thank you in advance! I actually have both cases ... But I can't even get the view to work for two databases on the same server .. can you shed some light on that scenario ...Show All

  • Visual Studio Tools for Office The value of the 'PublicKey' attribute in 'Microsoft Visual Studio Tools for Office Runtime Redistributable' does not match

    I'm setting up vsto run time prerequisite per http://msdn.microsoft.com/library/default.asp url=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOWindowsInstallerOverview.asp and I got the above warning message. The install could not proceed. What is the correct publickey for vsto run time Thanks for your response. Thinh Hi Thinh, When we published the SE version of the VSTO runtime, the redist was signed with a new certificate. Hence the Public Key changed. We are currently updating the above article for VSTO 2005 SE and it will be available mid-February. In the meantime you have two choices to resolve the Public Key question. Thanks and regards, Darryn Lavery [MSFT] ...Show All

  • Visual Studio Express Editions wide characters in program

    #include "stdafx.h" #include <iostream> #include <string> int main() { std::cout << "Please enter your first name: "; std::string name; std::cin >> name; std::cout << "Hello, " << name << "!" << std::endl; return 0; } wchar_t where do i put this in for wide characters like japanese thanx You should note that wide-character strings != Unicode. While wstring, wcin, wcout, etc. work with 16-bit wide characters they do not work completely with Unicode - surogates are a perfect example of something that will trip them up. ...Show All

  • Visual Studio Team System Compatibility between VS Professional Edition and Team Edition

    I would like to know if a solution built on a machine with Professional Edition can be opened on another machine with Team Edition. I am getting the following error: " The Project type is not supported by this installation" Thanks Right, this indicates that at least one answer on this forum was incorrect. (Thread VSTS for DB - SP1 & AGILE ). Obviously, SP1 MUST BE INSTALLED on the RTM of VSTE DB Professional. On boxes where the ASP Web Application Project was previously installed (was a patch available from the ASP Team for all versions of VS), the WAP patch MUST be uninstalled prior to the installation of SP1. HTH Alle ...Show All

  • SQL Server Mail Task in SSIS

    Please help me i am new to ssis ....I am trying to send an email using mail task and I am sure that ISP works fine with smtp. I am entering all the correct information in the task but it takes a long time to run the task and then comes back with a failure error. can someone help me find an easy way to send an email to group of emails...I even tried to send it to 1 email and it is still not working. use outlook client on the same machine (as SQL box) and see if you have the same problem, if the you have the same issue using outlook then this an exchange issue, if outlook can send it OK, then you have the investigate the problem on SQL. you also can set up DatabaseMail in SQL 2005 and test the send mail p ...Show All

  • Visual Studio Debug/Compile issue with Win32 application

    Hello, I'm attempting to compile a Win32 C++ application in VS2003, but when I try to use the default configuration manager setting, it gives me the following errors: Linking... nafxcw.lib(thrdcore.obj) : error LNK2019: unresolved external symbol __endthreadex referenced in function "void __stdcall AfxEndThread(unsigned int,int)" ( AfxEndThread@@YGXIH@Z) nafxcw.lib(thrdcore.obj) : error LNK2019: unresolved external symbol __beginthreadex referenced in function "public: int __thiscall CWinThread::CreateThread(unsigned long,unsigned int,struct _SECURITY_ATTRIBUTES *)" ( CreateThread@CWinThread@@QAEHKIPAU_SECURITY_ATTRIBUTES@@@Z) libc.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in funct ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Creating/Destroying an object.

    So, I was working on a new update to my game, when I realized that I have no idea how to create or destroy an object outside of the beggining of the game. I've been looking through tutorials, but so far I haven't found anything useful. Can anyone tell me how to do this, or link me to a tutorial on the subject I'd be most grateful. :D Forcing a GC collect is almost always a bad idea. The GC is very highly tuned and knows a lot more about the memory allocation situation than you ever can, so trying to override the default behavior (except in a few very specialized situations) will generally tend to make things slower. ...Show All

  • Visual Studio Express Editions how to select all textbox in the form?

    hello im making a simple registration form and i want to clear all the text in the textbox after the information is added foreach ( TextBox t in Form1 ){ t.text=null; } Error 1 'WindowsApplication1.Form1' is a 'type' but is used like a 'variable' thanks for the help should be: foreach(Control curControl in this.Controls) { if (curControl.GetType() == typeof(TextBox)) { ((TextBox)curControl).Text = ""; } } ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How do you draw text?

    Since the XNA documentation is lousy, I'm gonna ask here. How do you create text in XNA I want to use it for debugging purposes :( I tried using BitmapFont myself, but even though I copied all the code correctly from the example into my program, it tells me it cannot find the font. I included the .xml file and the .png file in the project. Could somebody tell me a detailed explanation of everything I need for the font to work correctly I need to know what I have to include where, but I think the code is fine. ...Show All

  • .NET Development Find DataRow in DataRowCollection

    Hi all! I have a problem that the IndexOf of DataTable.Rows does not find the row. It seems the link is broken one time, here is the summary of important lines of code: DataTable preparedSource = new DataView (dataSource, FilterExpression, SortExpression, DataViewRowState .CurrentRows).ToTable(); ... DataRow [] selectedRows = preparedSource.Select(SelectExpression); ... DataTable group = new DataView (preparedSource, ... ).ToTable(grpName); Now, if I take one of the selectedRows and try the group.Rows.IndexOf(DataRow), it returns false even if that row is in the table. Does any of the methods above duplicate the items instead of working with references How to solve this with minimal changes to code Th ...Show All

  • Visual Studio Team System "Catastrophic failure" during new project creation

    I have been creating my own project templete based on the Agile templete and have created and deleted several test projects. But I started to get this error. I then tried to create a project using the provided Agile templete... same error at the time an initial task is being created (see below). I have rebooted the server, but got the same result. Has anyone seen this happen Any suggestions on what to do next I guess I can rebuild the server from scratch... but that gives me a bad feeling. Thanks in advance, Robert Dufur 2006-10-17 17:07:51Z | Module: Work Item Tracking | Thread: 4 | WorkItem Validated 2006-10-17 17:07:51Z | Module: Work Item Tracking | Thread: 4 | Creating new WorkItem of type 'Task' ---begin Exception entry--- T ...Show All

  • Windows Forms Why my program is not multi-language when i do a setup project ?

    Hi, I've done an application that has multiple languages, When I run the project, I can switch languages, even though I have to restart it. However, when I build the Setup Project and install it, English-US remains as the only language available. Do you have any idea about it Thank you No, all I can do is repeat myself. The way it works is that there is one MSI file per language. I don't know what "switch to any language though your program" means exactly, but I assume you have multiple resource Dlls or something that you can switch too. MSI files don't work like that. ...Show All

  • Windows Live Developer Forums Robot Invaders Contest Winners

    It's time to annouce the winners for the Robot Invaders contest. The contest ran from May 15th to September 15th and in the end 53 Messenger bots were accepted as valid entries in the contest ( per the how to compete guidelines ). Each entry to the contest was judge by three judges separately using the Judging Criteria outlined on the How to Compete page and then the judges scores were averaged. There were a lot of great robot's submitted but here's the winners: Title Prize LiveBot Grand Mother Nature 1st Spleak 2nd Mobile Record bot 2nd Virtual Secretary 2nd Dr Phile Knowledge 2nd Comtec Travel Bot 2nd Search Bunny 3rd ...Show All

©2008 Software Development Network