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

Software Development Network >> Josh Smith's Q&A profile

Josh Smith

Member List

mdschwarz
xxsarahjwxx
Blkbird
Daikoku
srinivasintouch
0xDEAD
Vijay Chegu
Jessica Alba
loonysan
MDiwakar
Narizz28
AlexBB
vtortola
badsign
RuiSousa
jamesIEDOTNET
enric vives
tharpa
idos
msmuser
Only Title

Josh Smith's Q&A profile

  • Visual Basic Show/Hide Properties of form

    I use a form as dialog box for requesting some kind of user input I want to hide all it's properties from other forms and expose only my custom properties I know I can make that by creating a custom control but I dont want to locate the form in an external dll I want it to stay embedded in my program exe how I can do that I use vb2005 Hi Samer, Create a public class MyDialog that does not inherit a form but that has an instance member of type Form. Create an instance of Form when needed - either in the construtor of MyDialog or maybe as late as in a Show method of MyDialog. Now you can add any public methods/properties you want and forward them approprietly to your internal For ...Show All

  • Smart Device Development File Path Problem in Smart Device Deployment

    I have a SmartDevice project application within E:\Wireless folder in development environment. I have an XML file App.Config under this folder. While I try to deploy the application in debug mode in a Simulator, it says the current path to the file is \Program Files\Wireless\App.Config , but could not find the file. How to deploy the application so that my application can find the file. Do I need to copy the same file to debug folder Suman Ghosh wrote: I have a SmartDevice project application within E:\Wireless folder in development environment. I have an XML file App.Config under this folder. While I try to deploy the application in debug mode in a Simulator, it says the current path to the file is \Program Files\Wireles ...Show All

  • Visual Studio Visual Studio 2005 Setup Problem sdkvars.bat' could not be opened for write.

    [12/09/05,18:03:51] vs70uimgr: DisplayMessage_START:Error 32003.File 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\sdkvars.bat' could not be opened for write. [12/09/05,18:05:04] vs70uimgr: DisplayMessage_END:Error 32003.File 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\sdkvars.bat' could not be opened for write. that's the error i get every time i try to install visual studio.I have uninstalled everything rebooted like 6 times scanned my disk and everything and i just can't get it to install.And the file is there during the error...so i'm quite lost. Very good info - We tried to install visual studios several times and failed becuase of this stupid permission. Of course no doc on thi ...Show All

  • Visual Basic Changing connection string at run time??? :(

    I have got two connection strings in my application which I am creating in VB.NET 2005, one whose database is installed with my application so i can keep the connection string and other which is already there with the user. I want the connection string of the other database which i am taking from the customer to be installed in the registry which is fine, the string value is stored in the registry from the customer input. Now how do i get that string as the current connection string as systems.settings.connectionstring is read only Is there any ways this can be done because I am working on this project and it needs to be done somehow If your using VB 2005 then I would check out the My.Computer.Registry class for accessing the ...Show All

  • Windows Forms GenerateBootstrapper - Office PIAs

    Hi; The Microsoft Office PIAs are not installed as part of Office (except for Office 2003 where they are installef if and only if .NET was already installed when Office was installed). How can I make these files part of my GenerateBootstrapper products thanks - dave BootstrapperItem I got from the MSBuild docs - and it does build with it so I assume it is useful for something. Unfortunately VS 2005 does not need any of the Office hotfixes or PIAs - and clearly error codes must be known to get those in. So I'm back to asking who knows what to puit for the Office pre-reqs thanks - dave ...Show All

  • Smart Device Development Little Help

    I am using vs2005 and when I click to deploy my software to my handheld for testing I get the message "loading symbols for c:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\Debugger\BCL\mscorlib.dll" This message shows at the bottom and it never gets past this point. It never actually deploys and runs my software. Has anyone ever seen this error. Please update your .NET CF to be at least V2 SP1 - we have several fixes for the debugger starting from this version. The newer version - the better. Best regards, Tanya ...Show All

  • Visual C++ CMenu memory problem

    Hello, I have created a CMenu object using runtime reousrce which is not MFC resource but my own. I use it in this method: where m_mainRootMenu is the CMemu (data member of CMainFrame). void CMainFrame::ReloadResource(){ ResourceLoader rl((*this), m_mainRootMenu ,m_toolbarsList); rl.Reset(); rl.ParseResourceXml(CString(RESOURCE_XML_FILE_NAME)); } void CMainFrame::InitMenu(){ ReloadResource() ; SetMenu(0); BOOL res = ::DestroyMenu(m_hMenuDefault); SetMenu(&m_mainRootMenu); m_hMenuDefault = m_mainRootMenu.m_hMenu; } It works fine in a small project that don't do anything actualy, but when I have inserted it to much more complex project, I get this strange problem: the CMenu data member m_hMenu is updated to some address ...Show All

  • Visual C# Process.start() how to

    Hi All, I'm using process.start() to execute msbuild.exe. Is there any properties or method that I could set or call to wait until it completely finished before the next line of code get executed Best Regards, I need to do the automated testing with all the cs & vb projects. Just need to start the open/start the project file and then I will run it through the testing tool. The process should wait till the testing process completes. Is it possible Please suggest me. Thanks for your golden time spent to me. ...Show All

  • SQL Server Accessing Null UDT's from TSQL

    I created a UDT in C# that is working fine except when I request rows where the type is null. If I use SELECT Film.ToString() FROM ImageData it works fine, or any property they return Null as expected but if I use SELECT Film FROM ImageData it produces the error below An error occurred while executing batch. Error message is: Data is Null. This method or property cannot be called on Null values. I looked through all the examples in C# and my code matches the pattern for nulls exactly. Can anyone shead some light on what attribute I may have to add or method I should override which is not documented. This was a bug---Please see http://connect.microsoft.com/SQLServer/feedback/ViewFeedback ...Show All

  • Software Development for Windows Vista Remote Desktop is the issue, not Vista

    According to some MS documents (e.g. http://www.microsoft.com/whdc/system/vista/services.mspx), it should be possible to use CreateProcessAsUser() API in a Vista service to create a process in user session. I am trying to achive this, but the function returns error code 1307 (ERROR_INVALID_OWNER) = "This security ID may not be assigned as the owner of this object." Does it work for somebody Many thanks in advance. Any way I am able to launch process (using CreateProcessAsUser) but it is getting launch in another desktop i.e., is Session0, this is the place where my service is running. I am not able to launch in Session1 (users desktop). I am trying to get some help from http://weblogs. ...Show All

  • Visual Studio Team System File Date in TFS-VC

    In SourceSafe, you can specify (via Tools a Options… a Local Files) that the date/time of the local file be one of: Current Modification Check in As a policy, we have gone with Modification as the date/time that all local files should have (mainly so that we can easily see when the file was last modified). How can I do the same in TFS-VC From what I can tell, it defaults to Current and there’s no option in the UI for changing this. How can I make TFS-VC use Modification date instead To do this would require some major changes to the server code, so I doubt we will see it in a power toy in the near future. It is feedback that I know the team have heard from other peo ...Show All

  • Windows Live Developer Forums Which are the limitations of the messenger?

    For example, can I send a message to a user whenever I want, or must I send it after I have received a message from that user, in the IncomingTextMessage event Can I send multiple messages Does the fact that the assembly is in the GAC override those from above Hi, As far as I know adding your assembly to the GAC "works around" security issues, it does not in any way provide you with a better not API to MSN Messenger in any way. Here is an example. Say that you would like to get a stock quote from a web service on the internet and use it in your add-in in some way. If you do not add your assembly to the GAC, as soon as you try to access the web service a security exception will be thrown and yo ...Show All

  • Visual Studio Express Editions Help I broke my statusstrip..?

    I have a statusstrip1 in my app. There's a couple of buttons. At each ButtonClick.Event I change the StatusLabel1.Text a couple of times during the process. With this I'm using a progressbar which is updated by a performstep(). Now, after pressing the first button, everything runs smooth.. StatusLabel1.Text gets updated nicely and the Progressbar does its thing. However, after pressing the second button (generate) my label isnt updated at all and i see 3 instances of my progressbar... The weird thing is when I add a messagebox to the code the statuslabel does update and the progressbar shows 1 instance.. Can it be something in the code I tried it with both VB Express and VS2005, same result.. Thanks Private Sub Prepare_Click( ByVa ...Show All

  • Windows Forms Saving from RichTextBox in .rtf or .txt??

    Hello, I am trying to save file to either .rtf or .txt from my RTB. When I save to .rtf it works fine, but when I try to save to .txt it saves the file but it doesn't put the '.txt' extension to the end of the fileName. So when I try to open the file again it doesn't appear as a .txt file, but it works if I manually add the '.txt' file ext. into the filename at savetime. Here's my code: Dim textType As RichTextBoxStreamType If (SaveFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK) Then If (SaveFileDialog1.FilterIndex = 1) Then textType = RichTextBoxStreamType.RichText Else textType = RichTextBoxStreamType.PlainText End If End If Dim fs As New FileStream(SaveFileDialog1.Fil ...Show All

  • Visual C++ Can't get Csv format for clipboad to work with unicode

    I have been struggling with writting a comma seperated string to the clipboard with the intention of pasting the string into excel. The code below works fine for all three character sets (ANSI, MBCS, and UNICODE) when using appropriate standard formats CF_TEXT or CF_UNICODETEXT. When I add the Csv format everything works ok for ANSI and MBCS but does not distribute the values seperated by the commas in the text strings into individual cells in UNICODE. In fact, when I paste special and select Csv, all I get with UNICODE is the first value in the first cell as opposed to 1 in first cell, 2 in second cell, 3 in third cell, and 4 in forth cell. I get the Csv in seperate cell with my project set to ANSI or MBCS. What am I doing wrong I use ...Show All

©2008 Software Development Network