Software Development Network Logo
  • Architecture
  • Visual Studio
  • Visual Basic
  • Windows Forms
  • Windows Vista
  • Visual FoxPro
  • VS Team System
  • Microsoft ISV
  • VS Express Editions
  • Windows Live
  • Game Technologies
  • SQL Server
  • Smart Device
  • .NET Development
  • Visual C++

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

JamesParker

Member List

Sixto
David Vineyard
storm80y
Udi Azulay
sarvesh m
bamacoder
djfrey
smartie
zagy
Umesh.N
Neeraj Pandey
rurounip
Assaf Ella
Will Lotto
wirol
kob_kob
Roberto Jucá
Jakob Eskar
Prakash_210
m4yster
Only Title

JamesParker's Q&A profile

  • Visual Studio Express Editions Writing code in VB .net express edition

    Hello.I use Visual Basic 2005 Express Edition and I wan't to now where I can found diferent functions for VB.For example: How to launch a program when the user click a button You can use a Try... Catch block to test for errors such as "file not found". See the following for an example: http://msdn2.microsoft.com/en-us/library/ys1b32h3(VS.80).aspx Hope this helps, Steve Hoag Visual Basic Express ...Show All

  • Visual Studio Problem with Class Designer and Pages and Controls

    I'm trying to create a class model for some pages and controls in my website.  However when I drag any of them to the class diagram I get an error "Some of the selected types cannot be added to the class diagram.  From a previous post there was a comment saying you cannot model these types. Is this still true, and if so does anyone know of a work around    I also tried reverse engineering to Visio, but the model only shows the true classes, again  not the pages or controls.  We used the reverse engineering alot in VS 2003 to show class diagrams, and the sequence diagrams for our more complex processes. Tha ...Show All

  • Visual Basic Convert a long into a dword

    The registry setting below hides\shows the my document's icon on the desktop. I'm having a problem entering the appropriate values. Both methods below give aconversion error at runtime. If I don't specify the value type, a reg string value is created, but the value needs to be a dword. Private Sub HideShow( ByVal iconvisible As Boolean ) If iconvisible = True Then My .Computer.Registry.SetValue( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}\ShellFolder" , "Attributes" , Hex(4030726516), Microsoft.Win32.RegistryValueKind.DWord) Else My .Computer.Regi ...Show All

  • Visual Studio Team System InfoPath projects fail in TFS

    If I add a infopath project to a source controlled solution other teammembers donot get a working infopath project when they get-latest the solution. They get various errors, primarily caused (as it seems) by the missing of the InfoPath files. They are not retrieved from the source control. I stored the InfoPath project in a subfolder under the solutionroot. [EDIT: A work around is to make the files writeable (after a manual get from the source control) and then reopen the solution. The infopath project opens fine then. Compiling became the next problem. The output path of the enclosed c# project shoud be .\ (instead of bin\Debug)] Anyone in ...Show All

  • Software Development for Windows Vista should VS2005 PRO install on Vista Build 5270

    Put CD in, say Permit, start screen comes up, click on install link then get a meesage saying Suit Integration Toolkit Stopped...... Should VS2005 Pro install ok   I've had the same problem, just to add to the count.  Copying to the local disk was necessary to get it to install.  Thanks for the suggestion. ...Show All

  • SQL Server Can't get unicode strings using JDBC driver

    Hi; If I call the following to get a Statement, ResultSet.getString() works fine with unicode strings: Statement stmt = conn.createStatement(); But If I use the following: Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE); Then all chars > 127 are returned as an from ResultSet.getString(). I think this is a bug. - thanks - dave David -- It looks like this was resolved in the microsoft.public.sqlserver.jdbcdriver forum.  Let us know if you still have issues. -shelby ...Show All

  • Windows Forms grid row display order affected by binding?! (interesting)

    I have random data coming in from a process which I need to display with the latest always appearing on top. There are no specific sorts, keys or anything. Just rows to display. How do I do this  I am trying with DataSet.InsertAt(0, *datastring*) I tried the following (I can't figure this). If I insert rows into a dataset with InsertAt(0, *bla*) FIRST;  ...Show All

  • SQL Server Using an IF statement inside a sum()

    When I try the following code =SUM ( IIf( Fields!UPD_DATE.Value < Parameters!Parameter1.Value, Fields!ONHAND_VALUE.Value, 0) ) It returns an error however if I try =SUM ( IIf( Fields!UPD_DATE.Value < Parameters!Parameter1.Value, 1, 0) ) It returns the proper count. I've checked all the values for ONHAND_VALUE and they are all numeric so I have no clue what the problem could be. I fixed it, used =SUM ( IIf( Fields!UPD_DATE.Value < Parameters!Parameter1.Value, Fields!ONHAND_VALUE.Value, Fields!ONHAND_VALUE.Value * 0) ) Instead. I still don't know why ...Show All

  • Software Development for Windows Vista Petri net implementation using State machine Workflow

    While digging through workflow docs on the Internet as well as reading a few books one common technology for implementing a workflow comes up, Petri Nets. To my understanding one thing that separates a Petri Net from an ordinary state machine is that it can have multiple states active at the same time (multiple tokens in different places of of the Petri Net). One type of activitiy that is heavily used in Petri Net is an And-Split. Basically you have multiple edges going out from the Activity hence multiple states gets activated. What would the best way be to implement this using the Workflow Foundation framework Having multiple workflo ...Show All

  • SQL Server Date Comparison in Stored Procedure

    Hello, I want to compare 2 datetime but only on Date part, excluding Time . For example Date 1 = 07/01/2004 14:00:00  Date 2 = 07/01/2004 16:00:00 I want have true for Date 1 = Date 2 How can I do Excuse my bad English I could not understand the below code given by you in your post... where datecol >= convert(char(8), @date, 112) and datecol < convert(char(8), @date + 1, 112) will this not give a conversion error, if datecol is a datetime column Anand ...Show All

  • Visual C# Noob in C# having problems calling dll made in Borland Delphi 5

    Hi, Im totally new to C#, but Im thinking about "converting".....I have the following problem: I have created a C# application from which I call a .dll I made in Borland Delphi 5, the call works fine, the dll does what its intended to do, the problem is that when I close the application it continues to "live" in processes. This is the code I’ve used (Im showing entire code since its very possible that its something fundamental I’ve missed, so please have patience :)): using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System ...Show All

  • .NET Development Config file for DLLs

    Hello All ! I have some test DLLs (5) which all references a common DLL. The common DLL needs a specific value in the config file. So in my 5 test DLLs, I add a config file with the value needed for the common one. Of course it would be simpler if I can add only one config file (for the common DLL) but this doesn't seem to work. Is this possible or not Thanks, Jarod For connection strings, I would use the settings designer to create a settings class in all my assemblies that want to share the settings, and use the SettingsGroupName attribute to make all the settings classes read the same value from the app.config file. Ch ...Show All

  • Visual C# converting from nvarchar to money

    Operating system: Win XP Languages: ASP.NET, C#, SQL Server 2000 Hello, and thank you for reviewing this post~! Can someone tell me how to cast an nvarchar to money using C# Thanks in advanced! the nvarchar comes from the SQL Server, I'm trying to have a website with a distributed database in the back, but one of the databases that I don't own is using money instead of nvarchar, and I was hoping there is a way to cast the money to become an nvarchar. ...Show All

  • Visual C++ What equals to C# ref keyword in VC++ 7

    Can somebody tell me what equals to C# ref keyword in VC++ 7 Thanks in advance. It can, but its neater and less prone to mistakes if you use the &. The ** means a double pointer or a pointer to a pointer, so setting this up can be awkward. & on the other hand is just passing the variable by reference. The following demonstrates the difference. void fun1(int** a) {     *a = 1; }   void fun2(int &a) {     a = 2; }   int main() {     int value;     int* value2 = &value;       fun1(& ...Show All

  • Visual C++ XML Documentation Comments

    In new development I've selected to use .NET 2005 and of its features the one leveraged most in moving old code is the XML Commenting from which I hope to product documentation. I've found a problem on the C++/CLI side that I hope someone can help with -- whenever I have a method with a parameter such as array<char> ^ the documenting for that method does not display in Object Browser. As an example of this problem add the following declarations then compile a .NET Class Library -- add the Class Library as a reference in a C# project and browse in Object Browser. The top method will display correctly while the bottom w ...Show All

©2008 Software Development Network