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

Software Development Network >> Andy Rogers's Q&A profile

Andy Rogers

Member List

Pr1nce
Xelestial
Mike737Aviator
Redsome
Syed Atheeque Pasha
IlkerTunca
Maximus123
Christopher Lusardi
JanusTorres
Malleswar
Jon Braganza
trint
K.Kong
Keith Newton
Ric Bevan
Fire3.san
JohnFromNwPA
vtortola
David Searles
ruk_walled
Only Title

Andy Rogers's Q&A profile

  • Smart Device Development NE2000 PCMCIA network adapter selection

    Hello, I am trying to set up Pocket PC emulator for the internet connection without using Active Synch. I am trying following steps described in http://nino.net/blogs/nino/archive/2006/01/20/WM5EmulatorInternetConnectivityWithoutActiveSync.aspx But in my case I am having following problems: From Emulator:File -> Configure->Network I can check "Enable NE000 PCMCIA network adapter and bind to" but I cannot browse for the network adapters available. Is there any problem with my installation I can set the correct network adapter from Visual Studio 2005->Tools->Options->Devices->Properties->Emulator Options and then once I run the emulator I can find my selection in File -> Configure-> ...Show All

  • .NET Development How to force a prefix to be writen in the xml file

    Hi, I tried to achieve this in many ways but nothing seems to work. I want to write this xml: < xml version='1.0' encoding='ISO-8859-1' > <!--EacToolGest Save File--> <conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi: noNamespaceSchemaLocation="conf.xsd"> .... </conf> but this bold xsi: is not beeing written. I'm using this code: Dim xDoc As New XmlDataDocument Dim xElmntRoot As XmlElement xDoc.AppendChild(xDoc.CreateProcessingInstruction("xml", "version='1.0' encoding='ISO-8859-1' ")) xElmntRoot = xDoc.CreateElement("conf") Dim auxAtt As XmlAttribute = xDoc.CreateAttribute("xmlns:xsi") auxAtt.Value = "http://www.w ...Show All

  • Visual Studio 2008 (Pre-release) Getting DLINQ to work in existing projects

    Hi Is it possible to get DLINQ working in existing projects or do I have to use the special DLINQ template evrytime greets Bastian It appears that it is possible to enable LINQ on existing applications without using the templates. The key element is to import the proper references and global namespaces. In some cases, VS will not let you globally import selected namespaces, notably System.Query.Sequence. In addition, you may need to tweak the .proj file to replace the default import project template with the following: <Import Project="$(ProgramFiles)\LINQ Preview\Misc\Microsoft.VisualBasic.LINQ.targets" /> This should get you started. I can't promise that all aspects will work, ...Show All

  • Visual Studio CodeFunction - is it an override?

    Busy writing an addin that re-orders code elements - much like the MZTools but with rather specific rules - but have been struggling for a while to check if a specific CodeFunction is an override. Help, please AFAIK there is no property in the CodeFunction / CodeFunction2 classes to know that, you have to parse the source code searching for the overrides keyword in each language (VB.NET, C#). That's how I did in the MZ-Tools add-in. ...Show All

  • .NET Development Is this normal or bad practice?

    Hi all, I have inherited a web service from a previous developer, and have noticed some strange in the way that they have implemented something in their web service. The webservice only has one method, GetData(). But in the header of the XML that gets sent to the web service there is an element called 'Operation', as follows... <XmlElement> <Header> <Operation>CalledMethod1</Operation> </Header> <Body> <Data>Data Used for CalledMethod01</Data> </Body> </XmlElement> ... now there are four methods on the server that can be called (or placed in the <Operation> elements). When run, the method is got, and then the relevant data that is passed in the <Data> el ...Show All

  • .NET Development Record Limits for SQL Server Express?

    I would like to get started using the Visual Studio and SQL Server Express. Is there a max number of records that SQL Server Express Edition imposes, or what is the threshold of practical application in terms of concurrencies Also, if there is a small record limit size (that would be impractical for thousands of concurrencies) would data access to mySQL be provided within Visual Studio Express as an alternative Thank You, Don SQL Server Express does not have a workload governor (as did MSDE). However, keep in mind that if you should run it on a Windows desktop OS there will be a limitation with respect to concurrent connections. But that is a function of the OS and not SQL Server Express. The limit for XP Home is five and ...Show All

  • Visual Basic Array Help

    Hi, This may be a very basic problem but im haveing real trouble with it and its driving me crazy!!!!!!! I have created a class called Class1 I can create a new object by calling Dim test2 As New Class1 I can change its attrributes by test2.summary = True test2.is_stage = False etc..... Now what I want to do is store this class in an array. I have tried the folowing code but it doesnt seem to work Dim proj_tasks(10000) As Class1 proj_tasks(counter) = test2 This keeps erroring and I dont know why! Can somebody help me out! Also if your feeling very generous could you please adivise me on how I could make this a dynamic array rather than having to set the array to a huge size in the first place ...Show All

  • Gadgets Memory Leak in Gadget

    I have built a gadget (with some help) and I think there is a memory leak. I saw a post earlier that talked about this in some detail and I tried to fix it, but no luck. I was wondering if someone would be interested in taking a look at the gadget and see if you have any ideas. I don't want to post the entire gadget here, so if you are interested in taking a look at it, please email me at btucker @ blogcastrepository.com Here's the problem, I can load the gadget, but after 10 - 15 minutes, the RAM spikes from 200 - 300 MB. For the first few minutes, I can open, try the flyout and anything else. I end up having to close the sidebar in task manager and then open it again which works for another 10 minutes or so. It's really wierd. I ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA framework for non C#

    One of the great advantages of the .NET framework is that developers can work on the same project in different programming languages. As I'm reading about XNA, it seems that this will not be possible with the XNA framework. Will the only programming language that has access to the XNA framework be C# When you say C++/CLI, you mean the pure CLR mode Will C++/CLI mixing managed and native code work with XNA or not I can't imagine that they would allow you to distribute any unsafe, non-managed code. That sort of defeats the purpose, it seems. This is probably one of the major reasons that DirectPhysics is being implemented (just a guess). With the addition of physics, you will have managed control over all aspects of the game ...Show All

  • .NET Development Unrecognized attribute 'key' error when call a value from app.config

    I keep getting this error when I run my project. "Unrecognized attribute 'Key'. Note that attribute names are case-sensitive." I'm trying to call some values that are stored in app.config. Here's the app.config code < xml version="1.0" encoding="utf-8" > <configuration> <configSections> </configSections> <connectionStrings> <add name="Test_tempConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\test_temp.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" /> </connectionStrings> <appSettings> <add key="emailAddress&q ...Show All

  • Software Development for Windows Vista Distributed transaction support in wcf using WS-AT

    Hi all, Could anybody knows where I could find the example of distributed transaction in wcf using ws-at So it enables 3rd party service (like IBM svc) to join the transactions. Thank you in advance. lingga Hi lingga, any WCF client/service using a binding with TransactionFlow enabled AND the transaction protocol set to WSAtomicTransactionOctober2004 will flow WS-AT on the wire (making interop possible). The user programming model stays the same for WS-AT and our native protocol. As an example, see below for how to flow WS-AT using WSHttpBinding and NetTcpBinding. Documentation for WCF: http://wcf.netfx3.com/ -> Download Documentation CTP Transaction Sample: Download above do ...Show All

  • Visual Studio Express Editions problem:update datagridviews in master details application

    I've created a master/details application by vb2005 and access: choosing un item in listbox, relative data are displayed in datagridview. Problem:a cell loses the value inside and replace it with last put value. example: in listbox I've 2 item: A,B (id_padre) datagridview has 4 columns:id_figlio,id_padre,nome_figlio,cognome_figlio where first and second are readonly. I select A in listbox, I put some data in datagridview and so I have: id_figlio| id_padre| nome_figlio| cognome_figlio| 0 0 0 0 1 0 1 1 2 0 2 2 I select B in listbox, I put some data in datagridview and so I have: id_figlio| id_padre| nome_figlio| cognome_figlio| 3 1 5 5 4 1 6 6 5 1 7 7 If I select A now , datagridvie ...Show All

  • Windows Forms Cannot Run Script As Administrator under normal user ((null): 0x8007FFFF)

    I want to copy hosts files using login script. This script works fine under administrator user. But when I run this script under normal domain user using cscript copyhosts.vbs command it gives error C:\copyhosts.vbs(7, 1) (null): 0x8007FFFF The script code is as following:- ' Script Started Copy of Hosts file to windows directory Const OverwriteExisting = TRUE Set objFSO = CreateObject("Scripting.FileSystemObject") Dim Fso, File, WshShell Set WshShell = Createobject("Wscript.Shell") Set Fso = CreateObject("Scripting.FileSystemObject") WshShell.Run "runas /user:Domain\Administrator", 0, True WshShell.Sendkeys "Password" If objFSO.FileExists("C:\windows\system32\drivers\ ...Show All

  • .NET Development unexplained timer event

    Hi, When the user clicks a command button, my VB app starts a piece of hardware and then enables two timers: one timer callback reads and queues data from the hardware; the other timer callback processes that data. When all data has been processed, the timers are disabled (enable property set to false). When the command button is clicked again, one of the callbacks occurrs even though the code has not yet re-enabled the timer. That's not good for me. It acts as though there a backlog (queue) of timer elapse events remaining from the original run. Can that be The callback execution time is greater than the timer elapased setting. (The callback exits when it sees that a previous event of itself is still executing.) The flow ...Show All

  • Visual Basic Need help converting parameters from vb4 example into .NET type

    I am trying to get the following external call into a .dll to work in visual basic.net(2005). I have an example done in vb4 and from vc++6 but I am not sure how to convert parameters to vb.net. The details are: Custom data types used below: Type QAddress Queue As Integer Group As Integer End Type Type ShowBuffer Version As Long TransferStatus As Long TransferSize As Long reserved(7) As Long Target As QAddress OriginalTarget As QAddress Source As QAddress OriginalSource As QAddress Delivery As Long Priority As Long Endian As Long End Type Global Const SHOW_BUFFER_LEN = 68 Type PSB TypeOfPsb As Integer CallDependent As Integer DelPsbStatus As Long MsgSeqNumber A ...Show All

©2008 Software Development Network