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

Software Development Network >> Adrian Foot's Q&A profile

Adrian Foot

Member List

sqldummy
cougar91
nbrege
jack-n-jill
Joshua Yates
sunny123
RTS4ME
John_Mac
I.You
vijay1
mikasi
Bryan_Ta
xjay
iamme
Australian Sewing Machine Co.
GrandpaB
Andrew Ham
lalala--la
R.Tutus
anseal
Only Title

Adrian Foot's Q&A profile

  • Visual Studio 2008 (Pre-release) WPF for Windows XP!!!!

    Dear Friends, Can anybody please inform me, where can I get the SDK for building WPF applications in Windows XP. Thanks & Regards, Lalit .NET 3.0 download using link below: http://www.microsoft.com/downloads/details.aspx FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en VS.NET 2005 extensions download for .NET 3.0 http://www.microsoft.com/downloads/details.aspx FamilyId=F54F5537-CC86-4BF5-AE44-F5A1E805680D&displaylang=en Windows SDK download using link below: http://www.microsoft.com/downloads/details.aspx FamilyId=C2B1E300-F358-4523-B479-F53D234CDCCF&displaylang=en WPF Resource: http://wpf.netfx3.com/ ...Show All

  • Windows Forms Editing runtime textboxes

    Hi guys, I have a foreach loop that creates runtime textboxes. The textboxes getting filled from the database. My code; foreach ( DataRow dr in scoretable.Rows) { // Creating new textbox scorebox = new TextBox (); scorebox.Name = "scorebox" + i; scorebox.Width = 22; scorebox.Height = 20; scorebox.Location = new Point (x, y); scorebox.Text = dr[4].ToString(); panel1.Controls.Add(scorebox); } Now when I run it, I get the textboxes with the scores from the database on my form. But I would like to to edit some scores and update it to the database. For that I am using this code; foreach ( DataRow dr in scoretable.Rows) { string id = dr[0].ToString(); ...Show All

  • Visual Basic null reference in passing array between procedures

    Hi, I'm trying to write a program that grabs data from a text file and populates the array of a structure, but I've been getting a "system.nullreference exception: object reference not set to an instance of an object. at A.Readfile(string file, schedule{} & flight) at A.Main(String{} arg) Sample code:  Public Structure Schedule         'members of the structure         Dim Airline As String Public Sub Main(ByVal arg() As String) Dim flights() As Schedule 'a structure previously defined Dim response As String ReadFile(arg(0), flights ) 'i think flights is causing the problem, but not sure how etc, Sub Readfile(B ...Show All

  • SQL Server partitioned views Explain Plan

    Hello I created a partitioned view on my database db1 and It comes from the UNION ALL of 2 tables (I split 1 very big table in 2 smaller tables... Horizontal partition!!) that are on the same db1. When I query them I receive in the EXECUTION PLAN an Item called CONCATENATION of both input tables, This seems to be more expensive than using only one big table so partitioning the big one gets none sense.. I would like to know if this is normal and If I'm doing well with partitioning. Please see the script below: CREATE TABLE [dbo].[TREP_NOVEDADES_2006] ( [NMSEC_NOVEDAD] [numeric](12, 0) NOT NULL , [CDCONCEPTO] [varchar] (12) NOT NULL , [CDTIPO_VALOR] [char] (1), [CDPRECIO] [varchar] (12), [CDTIP_HECT_DTO_PAG] [varchar] (2), [FEG ...Show All

  • .NET Development 64 bit remoting app searching for VJSharpCodeProvider

    We have a remoting app we are currently trying to port to 64 bit. It is written in C++/CLI. Whenever we try to connect to our application on the server throws the following exception: The assembly with display name 'VJSharpCodeProvider' failed to load in the 'LoadFrom' binding context of the AppDomain with ID 2. (Full exception included in the bottom of this message). We do not use any J# in our application. As there is no x64 j# runtime I am at quite an impass as to what to do. It may be worth noting that we are connecting from a 32 bit client. I would be thankful for any suggestions. Mike The assembly with display name 'VJSharpCodeProvider' failed to load in the 'LoadFrom' binding context of the AppDomain with ID 2. The caus ...Show All

  • Visual Studio Team System getting varied results

    Hi I am load testing a web based application..we at this point only require the response time in case we have 200 user hitting the link at the same time ....so wat i did wasrecorded the script in fiddler imported it to vsts and then configurd tha load test for the same .....i used a step load starting with 20 users and in every 60 sec 20 users were added till it reaches a maximum of 200 users ..i did not add an server or counters it was a local run however i made a connection pool of 100...igot error in connection wait time now if i change the connection pool little bit i get varied differences in the results specially the respone time which is my priority at the moment.Now here i have 2 concerns:- 1)connection pool is always set ...Show All

  • Visual Basic Date to string

    Hi all i have taken a textbox named txt_date where date will be entered. now when i save it into microsoft sql server 2000 it saves one and only date "10/01/1900" though i enter any date in txt_date.text(textbox) now i think i would have to convert the value of txt_date.text in to string from date format. Can anyone pls tell me command line for the same... or there is any other way to save value of txt_date.text directly without converting... thanks & Regards Vimal What do you mean converting the value of a textbox into a string from date It's already a string. The SQL server expects dates to be formatted in a distinct way. If it saves 10/01/1900 no matter what date you input (if you do), it is probabl ...Show All

  • SQL Server Use of public variables

    Hi, I'm actually using global public variables in the custom code of my reports. Is there a "chance" that , if the report is executed at the same time by two users, values calculated for an user will be crushed by other user's execution Thanks in advance. Gregory. It sounds like you are using public static variables. If you need to be 100% certain to avoid values being calculated by other users, you can make each of the shared variables a hash table based on user ID (i.e. =Globals!UserID). -- Robert ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Dynamically casting an object of unknown type

    Hello everyone! I think I've got a tough problem for you. I've got a List<object> full of various types of objects, and I want to grab an element from the list and cast it back as the type of object it actually is. Ideally, what I would do is something along the lines of: List<object> objects = new List<object>(); MyClass instance = new MyClass(); objects.add(instance); object something = objects[0]; Type somethingtype = something.GetType(); somethingtype variable = (somethingtype) something; this works fine except for the last line. Once I have the type of the object, I can't use that to either declare a new variable of that type, nor can I use it for casting (as far as I know). Does anyone know of a way to use Type info ...Show All

  • .NET Development Problem with remoting, works, then mysteriously dies

    I have an application that creates a marshaled object, the lifetime is server controlled. This is a very basic application, all it can do (currently) is return version information. The problem, is that when I run the server, it appears to be running flawlessly. No errors. The client connects, retrieves the version number, and disconnects (just closes the client, can't call disconnect() on a proxy). This works for about 3-15 minutes, then the client starts recieving remoting error "Requested Service Not Found" I don't know why this isn't working. I've written remoting apps before, and this follows the template exactly, but this one quits unexpectedly. It works again when the application is restarted. No errors are thrown The comp ...Show All

  • SQL Server parameters

    Hello, i am new to ssrs and am trying to generate a report with 4 parameters. 2 of which are dates. The other 2 are drop downlists. Now the report works fine when i enter all 4 parameters. But in some cases i want to leave one of the parameters unentered . It doesnt all me to do that. Gives a error saying i need to enter the parameter. How do u get aroud this issue I have seperate dataset for this parameters list and am using a where clause in my main query. Can anyone please help me out with this Thx Ashish Read this article http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1061210&SiteID=1 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Multiplayer & C# XNA

    Hi, I've downloaded and installed the XNA Game Studio Express (beta) and then gone through the tutorials. All is working great and I have a couple of simple stand alone 2D games working. I would now like to try and make a simple 2D or 3D XNA game with multiplayer capability in mind. Now I have searched through the forum and FAQs and found that multiplayer is not CURRENTLY available for the Xbox. This is fine as I'm new to all this and I’d like to develop my first multiplayer game as more of a learning experience than anything else so am happy to just start on Windows XP. For multiplayer on Windows XP one of your posts suggests using System.net but doesn’t go into any other detail or point to a site ...Show All

  • SQL Server SSIS Packages Build Deploy Install Execute

    1) When I first developed the packages, I was able to run build, deploy, install & execute them from command prompt. 2) From stored procedure I got error: Error: 2006-10-24 14:58:54.62 Code: 0xC0016016 Source: Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available. End Error 3) Experts suggested to use package protection as Encrypt with password but still I could not succeed. 4) Now, we recreated the only package from which we kept password as before but while validation during insta ...Show All

  • Smart Device Development Is there any way to replace CBT hook in WinMobile 5.0 or higher?

    Hi all, I want to monitor a process's executing ,but WM5.0 doesn't support CBT message hook which is used often in WIN32. How can I find another way to implement it Thanks! ...Show All

  • Windows Forms OnClick preceding OnEnter

    VS 2005 / XP Pro -- both with all service packs It is my understanding that the OnEnter event should precede most (all ) other events for a control but... Our application has a form on which is a Tab-control. We load a number of controls dynamically onto this Tab-control -- ComboBoxes, CheckListBoxes, and TextBoxes. We haven't checked all the Tabs, but on at least one of the Tabs the OnClick/OnMouseClick event precedes the OnEnter event for the ComboBoxes and CheckListBoxes (but not the TextBoxes). Controls that are added at design-time on other Forms' Tab-controls have the events fire in the expected order -- OnEnter and then OnClick/OnMouseClick. Is my understand of the sequence of events erroneous or can someone g ...Show All

©2008 Software Development Network