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

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

Tryin2Bgood

Member List

Fox3
Kennon2005
ugpj
eric_from_nj
joeydj
nikos_22
gkn293092
BIG S
ranjith_radha
TeXhNoLyZe Wolf
Timmy
Bachi
Tommych
laja
Recency
Davids Learning
Oliver 123
m_umair_85
PepsiWales
Anders Pettersson
Only Title

Tryin2Bgood's Q&A profile

  • Visual Studio Tools for Office Outlook 2003 Registry and Rules

    I am trying to automatically setup a rule in Outlook 2003 using C++ code. Basically I have a program that sets a user up with a new email account by setting the registry values. I also want to create a folder in the user inbox to put the email from this new account...I have looked everywhere on how to do this...does anyone have any ideas Thanks Mary So are you saying that there is no way to programmatically set an account to receive it's mail in a programmatically created folder Can I at least programatically create the folder...and then give instructions on how to setup the rule By the way...I just bought your book ( Microsoft Outlook Programming, Jumpstart for Administrators, Developers, and Power ...Show All

  • Visual Studio Express Editions Building a command line application

    Hi, finally looking at VB2005 as I'd like to build a .exe that can be run from a command line. The code I have is this: Module Module1 Sub Main() FileSystem.FileOpen(1, "H:\Research\GetWebFile\x.x" , OpenMode.Output) FileSystem.Write(1, "Hello World" ) FileSystem.FileClose(1) End Sub End Module I built it without any errors, but when I run it I get the error : The assembly or AppDomain that failed was HelloWorld, Version 1.0.0.0, Culture=neutral, PublicKeyToken=null Can anyone help explain what is wrong. Do I need to create a form, I have set the startup object as Sub Main, There is nothing else to choose from Do I need to add a reference to something TIA, Chip ...Show All

  • Visual Studio Express Editions Reading text from a txt file. Problem with ignoring polish marks inside

    Hi, I learn VBE 2005 from a book. I got a program which load txt file and shows it in text box. Problem is in displaying polish marks inside box. Program simply ignores them and I got my text files cut from polish marks. I have a polish windows xp pro. Please help! Here is code I use ( works fine with all english marks ) Public Class dialogs Private strFileName As string Private Sub btnOpen_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOpen.Click With OpenFileDialog1 .Filter = "Pliki tekstowe (*.txt)|*.txt|Wszystkie pliki (*.*)|*.*" .FilterIndex = 1 .Title = "okno dialogowe otworz" End With If OpenFileDialog1.ShowDialog = Windows.Forms.Di ...Show All

  • Visual C++ visual studio 2005 breakpoints

    i'm having trouble making breakpoints work in 2005. i've tried copying the project settings that i use for the same project in 2003, and it generates a pdb file, but it seems to not open it... thanks ...Show All

  • Visual Basic Data Explorer Capabilities Redux

    I've viewed several posts on this issue.. but the answers are still not quite clear to me. I am using VB Express and have an existing .mdf running on a current instance of SQL Express. I'm fine with working with a local copy of the database which is created when I add the database to my project. However, even though when I exit and reenter the Database Explorer adds the connection to the added database, the connection is broken with error 26. Can you only work with databases you create in VB Express Is that the defiinition of a VBExpress database A local database Finally, the real question is: Can I connect to any exisiting .mdf database using Database Explorer and the design time tools Thanks. There probably ought to be a b ...Show All

  • Visual C# Reinstall creates multiple entries in Add/Remove Programs

    Hi, I have an app that I have compiled several times to an installation program. In VS2005 I have DetectNewerInstalledVersion = true and RemovePreviousVersions = true. Each time I compile I increase the version slightly so I can run the setup without error, but when I do all these things, after installing different upgrades several times I see new entries into Add/Remove Programs. Is there something I can do in Visual Studio to correct this Mario, You are right, it is completely counterintuitive!! I have a VS2003 WinForms app for which I am providing constantly newer versions to the folks who are testing it for me. I want the installation to be simple: Just one the new MSI file and have it install over top of the old installation. To ...Show All

  • Visual Studio Express Editions External Tools

    Help tells me to goto Tools->External Tools to add an external tool such as the resource compiler. When I click on the ellipsis I am taken to C:\Program Files\Microsoft Visual Studio 8\Common7\IDE. When I go back one level and open Tools there is no bin folder. Help says that is where the Resource Compiler resides. I have gone so far as to remove VB 2005 Express and reinstall. What in the world am I doing wrong It's under Common7\Tools\Bin . james aka:Trucker       Edit, sorry, I missed that you already checked the Tools\Bin folder. You probably need to install the 2.0 SDK. Here is the link to download the SDK. (hope you have DSL or similar, it's a large download for th ...Show All

  • SQL Server Newbie: How to fires a WMI event alert?

    hi everyone, I've made a WMI event alert with this query: SELECT * FROM DDL_DATABASE_LEVEL_EVENTS WHERE DatabaseName = 'AdventureWorks' In Response tab I've defined my email as destination. Thanks a lot for any link or thought about this, ...Show All

  • SQL Server Cannot connect

      Hi, I installed Sql Server Express and was told to change the connection setting to Local and Remote using both TCP/IP and named pipes. But when I select it and try and apply I get the following Surface Area Configuration error: TITLE: Surface Area Configuration ------------------------------ An exception occurred in SMO while trying to manage a service. (Microsoft.SqlServer.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.InnerWmiException&LinkId=20476 ------------------------------ ADDITIONAL INFORMATION: Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum) For ...Show All

  • Software Development for Windows Vista VS.NET Package doesn't load on Vista platform

    I created a package for Visual Studio.NET IDE. I copy the package dll in the PrivateAssemblies directory of the VS.NET install and it is working fine on all the OSes except Vista. Does anybody know is there any change in the package creation or loading for VS.NET IDE on Vista platform ...Show All

  • Gadgets File open Dialogue box

    Hi all, I’m looking to add the standard windows dialogue box for opening / saving files to my gadget.   I know that this can be done in xp using either the "UserAccounts.CommonDialogue" ActiveX Control or the "SAFRCFileDlg.fileopen" Control, but neither of these work on vista.   Any help as to what is the new activeX control, how to find what activeX controls are installed on vista or any api's (tried msdn library) would be gratefully received.   Dave Can you not use the Sidebar file dialogue var cfItem = System.Shell.chooseFile(true, "All Files:*.*::", "", ""); if (cfItem.path != "") { //do something with cfItem.path ...Show All

  • Visual Studio Customize DSL

    Hi, Does anybody know how to display an icon before a property in a class. The DSL language has an example for this: the icon before a Domain property in a DomainClass. Are there any plans to have a decorator for this kind of scenario in a new version of DSL Hope somebody can help. Hi verhart, You can do this with a littl ebit of custom code in your designer. On your compartment shape, override GetCompartmentMapping and set the ImageGetter delegate to point to some code of yours that provides the image: protected override CompartmentMapping[] GetCompartmentMappings( Type melType) { CompartmentMapping[] baseMappings = base .GetCompartmentMappings(melType); ElementListCompartmentMapping mapping = baseMa ...Show All

  • SQL Server SELECT Help Please

    Hi All... Consider the following table: RecId AssocId Text 1 10 blah 2 10 blah 3 20 blah 20 blah 20 blah Certain records are "associated" with each other using the column AssocId. I have a select statement that uses several other columns not shown and gets me a set of records. But I also want to include the records that are associated with each of those records in the set regardless of their other columns. That is if I have: SELECT * FROM Table WHERE RecId = 3 How do I also include those other 2 records whose AssocId match the one I got with the WHERE (and of course I want it in the same SQL statement...) Any thoughts Than ...Show All

  • Windows Forms NumericUpDown - Prevent User Deleting Entry

    VS 2005: I have a NumericUpDown with Minimum=0 and Maximum=10000. Despite these settings the user can still delete the contents of the box completely. When this happens and the user tabs to another field, the actual value stays at the last value before the delete although the box is empty. The ValueChanged event does not occur. How can I prevent the user from deleting everything or make the actual value re-appear if he does so Ken, Thanks for your reply. Neither of these solutions is totally satisfactory. As you correctly say, the first is cumbersome for large numbers. The second would have to also cover Keys.Back and would then deny the user the use of the Delete and Backspace keys which would be t ...Show All

  • Visual Studio Express Editions Period and Dash

    How will I allow Period and Dash is this code For example if the name is Mark K. Smith-Hensonn this code does not allow . and - Private Sub NAMETextbox_KeyPress(ByVal eventSender As System.Object, ByVal eventArgs As System.Windows.Forms.KeyPressEventArgs) Handles FirstNAMETextbox.KeyPress, LastNAMETextbox.KeyPress, MiddleNAMETextbox.KeyPress Dim KeyAscii As Short = Asc(eventArgs.KeyChar) 'Allow only alpha to be entered If Not (Char.IsLetter(eventArgs.KeyChar) Or Char.IsControl(eventArgs.KeyChar) Or (eventArgs.KeyChar = Chr(Keys.Space))) Then eventArgs.Handled = True End If If KeyAscii = 13 Then 'System.Windows.Forms.SendKeys.Send("{tab}") KeyAscii = 0 End If End Sub ...Show All

©2008 Software Development Network