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

Software Development Network >> Tom Nash's Q&A profile

Tom Nash

Member List

Dan F. Jansson
Tom Frey
TIEN DUC
xlordt
Philippe Galipeau
wirebarbed
UncleSam89
StephenMas
Donaghy
Ultrawhack
selinux.es
Andy Britcliffe
Crazy Engineer Kid
Sune Henriksen
Haziman
Raj S
tasleemarif
Joe Au
Lars E.Nes
Wilk06
Only Title

Tom Nash's Q&A profile

  • Windows Forms Process preview window

    I am looking to create a preview window in a form that I have that will display a running process. It's much that same as the preview window when selecting a screensaver in Windows. Basically I want to have a preview button that will display the running process in a preview window on my form and then be able to adjust parameters and see the results of this on the process. Does anyone have any ideas on how to do this, just the getting the process to display in a preview window part. Thanks Hi one thing you could do is to use Performance Counters to get some data on the process http://msdn2.microsoft.com/en-us/library/system.diagnostics.performancecounter.aspx display that data in a screen.. Hop ...Show All

  • SQL Server Unable to retrieve the @@Error code in stored procedure

    Hi All, In my application on click of Delete button, actually I am not deleting the record. I am just updating the flag. But before updating the record I just want to know the dependency of the record ie. if the record I am deleting(internally updating) exists any where in the dependent tables, it should warn the user with message that it is available in the child table, so it can not be deleted. I want to check the dependency dynamically. For that I have written the following procedure. But it is updating in both cases. CREATE proc SProc_DeleteRecord @TableName varchar(50), @DeleteCondition nVarchar(200) As Begin Begin Transaction Declare @DelString nvarchar(4000) set @DelString = 'Delete from ' + @TableName + ' where ' + @DeleteCon ...Show All

  • SQL Server SQL Server 2005 JDBC Driver 1.0 error in using XA datasource

    We are in the process of configuring a j2ee application with SQL Server 2005. We have downloaded the new version of SQL Server 2005 Java Database Connectivity (JDBC) Driver 1.0. We are having some issues in getting it to work using the XA datasource. Description of the error is as follows: javax.transaction.xa.XAException: java.sql.SQLException: Failed to create the XA control connection. Error: Could not find stored procedure 'master..xp_sqljdbc_xa_init'.. at com.microsoft.sqlserver.jdbc.SQLServerXAResource.start(Unknown Source) Has anyone else has encountered this and possibly found a solution. Regards, Bindu Hi, Could you post back with how you configured the connection strin ...Show All

  • SQL Server Dynamic Row Group in a matrix

    Hi All ! I want to show row groups as hierarchy levels and need the sub total values belongs to each group and sub group levels. But the most important point is that my top next top group (from child to parent ) is not static its dynamic.i.e for a diffrent senario my under displayed example can have Universe--->Earth as parent for Australia and USA. eg: 1.Australia |-------sydney |-------Melbourne 2.USA |------North US |------North US(1) |------North US(2) |------South US |------South US(1) |------South US(2) Can I get some help from anybody for making a dynamic row groups in the matrix. Waiting for a kind help. Re ...Show All

  • Visual Basic 2 forms..1 call show to 2..2 wants to add combobox to 1.. problem !

    Hello, I have programmed java before but i am new to VB.net.. so this is what has been going on.. Form 1 has a button and combobox. On button click.. Dim obj as new Form2() obj.ShowDialog() Form 2 pops up ! Form 2 has a button called add. on button(add) click.. Dim obj2 as new Form1() obj2.ComboBox1.Items.Add("Hello") And nothing works I wonder why Instead of creating a new Form1() inside form2, try passing Form1 to the constructor of Form2: Dim obj as new Form2(Me) Inside the constructor, store the form in a member variable. Then on the button click, use the reference that you stored to add an item to the combobox. Sub New( x as Form1 ) Me.form1 = x On button(add) click Me.form1.C ...Show All

  • .NET Development Newbie question about MDBG sample

    Hi, I'm trying to figure out how the Mdbg sample works so i tried to create a simple debugger handling breakpoints. So this is a sample of my code: public void Start(Projet proj) { _debuggerMdbg = new MDbgEngine(); _debuggerMdbg.Options.CreateProcessWithNewConsole = true; //Fire event OnDebugSessionStarted(); DebugModeFlag debugMode = DebugModeFlag.Debug; // version should be v.2.0.50727 string debuggeeVer = CorDebugger.GetDebuggerVersionFromFile(proj.OutputAssemblyName); MDbgProcess p = _debuggerMdbg.Processes.CreateLocalProcess(debuggeeVer); p.DebugMode = debugMode; p.CreateProcess(null, proj.OutputAssemblyName); //Add breakpoint _debugg ...Show All

  • Windows Forms Row disappearance in DGVs

    I posted a topic in Windows Forms General about this recently, but I've since learned a bit more about the problem and figured this was a more appropriate section. Anyway... I've got a problem with datagridviews in a tabbed application I'm working on. Now - this doesn't seem to be related to DataErrors at all, because I handle the DataError event by popping up an informational message box, and I'm not seeing that box or the dead datagridview that results from the errors. Originally, I thought I was seeing this problem when I would switch away from the tab with a set of lists and an update would come in for a list that wasn't on the currently displayed tab. Now I'm seeing that actually, nothing has to happen. If you switch tabs and sw ...Show All

  • Visual C++ C1091 string too long, getting around it

    Is there an easy way to get around the limit of 65535 bytes for a string I'm moving my code to Visual C++, but I don't want to make unnecessary changes to it. Is there a compiler switch to change the limit Why not No, but you can break the string up into chunks and manage it somehow during runtime (either by concatentating or just keeping the array of chunks as is.) Or you can place the string in a resource and use LoadResource on it. ...Show All

  • .NET Development Primary Key in XML Schema.

    I have to create a large number of tables in SQLEXPRESS. I set up one of them manually. I figured the next thing for me to do is to create an XML Schema. I used an MS XML notepad and another schema for a similar table but from a VFP database as a template. I do not know how to set up primary key on one field . The notepad designer does not seem to provide any prompts in its IntelliSense dropdown menu. It is the first field of the table, type int. This is how it looks in the schema file: <xsd:sequence> <xsd:element name="univRec_id"> <xsd:simpleType> <xsd:restriction base="xsd:int"> <xsd:maxLength value="8" /> </xsd:restriction> ...Show All

  • .NET Development only last value is sent

    I was wondering if anyone could tell me why it only appends the last row of data in my listbox to my xmlserializer to write it to my xml file....the infomation comes in the listBox but only the last row of data is written to the xml file.....why is that and how would i go about fixing that...any help would be great! empinfo info = new empinfo(); string connect = System.Configuration.ConfigurationSettings.AppSettings["connstring"]; SqlConnection sql = new SqlConnection(connect); string cmd = "Select * From Employees"; SqlCommand scmd = new SqlCommand(cmd, sql); sql.Open(); SqlDataReader dr = scmd.ExecuteReader(); if (dr.HasRows) { while (dr.Read()) { //s ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Problems to Create a Vertex Buffer... Anybody, HELP...?

    Hi, ... ... ... I'm trying to make a Vertex Buffer with a Direct3D Device and Pointer like the codes below... LPDIRECT3DVERTEXBUFFER8 m_pVertexBuffer; if (FAILED(m_pD3DDevice->CreateVertexBuffer( NUM_VERTICES * sizeof (SIMPLE_VERTEX), NULL, NULL, D3DPOOL_DEFAULT, &m_pVertexBuffer))) return FALSE; _________ The program seems to compile fine... Everything checks out allright... But when I run the program, the compiler gives me the error as below... Unhandled exception at 0x00412591 in RealTimeRendering___1.exe: 0xC0000005: Access violation reading location 0xcdcdcdcd. _________I don't really know ...Show All

  • Visual Studio 2008 (Pre-release) Bug ? The Enabled control is not effective by MenuItem.Command.

    When the menu is displayed with the ALT+F key in the following codes, MenuItem doesn't become effective. MenuItem becomes effective if it clicks with the mouse. Is this a bug Window1.xaml file <Window x:Class="MenuBtnTst.Window1" xmlnshttp://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:l="clr-namespace:MenuBtnTst" Title="MenuBtnTst" Height="300" Width="300" > <DockPanel> <ToolBar DockPanel.Dock="Top"> <Button Name="btn" Click="OnOpenFileMenu"> <Button.Content><AccessText Text="_File"/></Button.Content& ...Show All

  • Software Development for Windows Vista System.Transactions and MSDTC

    I've recently tried using System.Transactions.TransactionScope to handle my transactions. Although it's very handy and simple to use in my business layer, i cannot get the code to run unless the Distributed Transaction Coordinator service is running on my pc. (SQL Server 2005 is running locally so i can test on a local version of our database) My question is: why does this service need to run if all i'm trying to do should only require a standard Transaction, not a distributed one Is my transaction being promoted (and thus suffering a perf hit) This is the codeblock where i'm using the scope: Dim scope As Transactions.TransactionScope = New Transactions.TransactionScope Dim newname, oldname As String Dim sjabloon ...Show All

  • SQL Server OLAP Analysis Services - Remote Connection issue

    Hi! does anybody tell me how to connect remotely to an OLAP Analysis Server I have defined a local windows account on the OLAP server and added it to AS cube roles. Despite that I still can't connect remotely to the AS server. Thanks, Chris If this is about connecting with SQL Management Studio (or BI Development Studio) to Analysis Services 2005: - you need to have a Windows account in the domain of the 2 machines (the AS2005 machine and the client machine from where you want to connect remotely) - temporarily make the user a server administrator on the AS2005 (to eliminate the potential permission problems); you can do this with SQL Management Studio, right click on the server i ...Show All

  • Visual Studio Express Editions Visual Web Developer 2005 Example Code?

    I just downloaded Visual Web Developer 2005 , and I want to learn more about the features of it with example code. Is there a place that has a list of example code that I can use to learn more about Visual Web Developer 2005's features (Like something similar to W3Schools' ASP.NET Examples at http://www.w3schools.com/aspnet/aspnet_examples.asp.) Thanks for any help. http://forums.asp.net would be the forum to post all your ASP.NET/VWD question to www.ASP.NET would be a website having some sample code snippets and articles and starter kits http://msdn.microsoft.com/vstudio/express/vwd/starterkit/ ...Show All

©2008 Software Development Network