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

Software Development Network >> Andrew Mercer's Q&A profile

Andrew Mercer

Member List

devdev33
Darren Tao
GarrettM
TRACEYMS
Hedgeh0g
furjaw
Neil_D_Jones
albewar
Chinwa KneeHo
xRuntime
chris441962
ntsoo
PatrikC
Duncan_311
ACHawk
SoopahMan
Brandon Zundel
Dirk Haest
OasisGames
MrPenny
Only Title

Andrew Mercer's Q&A profile

  • Windows Live Developer Forums V3 performance degrades over time

    During my development, I had to refresh my webpage every so often. I noticed that over a period of time the map was taking longer and longer to refresh. In fact, at one point, it took 35 seconds. So, I decided to do some testing. With the help of the "window.setTimeout()" function, I automated the GetMap() function to run every 30 seconds. I calculated the time for the GetMap() function and saved it. It started out with 1 second and at the end of 30th call, it took 9 seconds. The increase was progressive and there were no spikes. I have 15 pushpins on the map. I'm using IE6. If I close the browser and restart my application, it starts running faster but gradually slows down again. In our production environment, I foresee my ...Show All

  • Windows Forms possible bug with Menuing in .Net 2.0

    create a new win forms project. add a menu strip to the default form. add a file menu item with 4 child items. Set any child item's visible property to false. run the application. Everything works fine as long as you are using the mouse. when you navigate the menu with the arrow keys and you get to the bottom of the menu it scrolls all menu items off the menu and shows nothing... Am I doing something wrong and this is by design or is this a bug jw. This question may be better posed here at Microsoft's actual Visual Studio and .NET Framework feedback website ...Show All

  • Visual FoxPro Underlining commands

    I just recently switched from VFP 8 to 9 SP1. When I type a command in the Command Window or in a program, the command is underlined as I type. Is there a way to turn this off I don't remember this happening in VFP 8. Thanks in advance! This is the new "background compile" feature. It helps you see whether the line, as it stands, is valid. You can change the behavior or turn it off in the Options dialog. Tools | Options Editor tab Background Compile I'm using the Red Inversion setting and appreciate it. Tamar ...Show All

  • Visual Studio Express Editions Hirarical Tree View C#

    Hi, I want to create Hirarical tree view based on are the following record stored in a table. Id Name Parant id === ============== ======== 1 Test 1 2 Test 1.1 1 3 Test 1.2 1 and so on... I am using C# windows form how can I create tree nodes at runtime based on above mentioned information. Thanks in advance, Hi Abdul Aziz, The TreeView Control in WinForms is extremely easy and simple to use and its a nice control to deal with. Try the following code sample, It'll fill the data you have provided into a tree: private void button1_Click(object sender, EventArgs e) { //the data in an array string[] Parents = new string[] { "Test ...Show All

  • .NET Development Printing Chinese characters

    I have a Windows Service that gets sent a document that contains a mixture of English and Chinese characters. When I debug and view the contents of the string, I can see the Chinese characters. If I paste the contents of the string into Word, I see the Chinese characters and they also print properly. However when I send the printjob via my service - same text, same printer - the Chinese characters print as question marks. So in effect, this 外幣兌換 GTID: FWXX01NN Date: 26/10/06 Patron#: will print as GTID: FWXX01NN Date: 26/10/06 Patron#: Does anyone have any idea what I can do to fix this In Word and in my app I'm trying to print usi ...Show All

  • Visual C# Crystal Report not displaying data

    I'm trying to get a Crystal Report to display database data and it doesn't seem to want to, all I get is the headers for the columns but it doesn't display the actual data. I know I have data since I've broken on the datatable and seen it's populated. Am I going about this the wrong way This method works with the app currently but it was developed in VS2003 without TableAdapters. I have a xsd with a bunch of table schemes in it that are used for all reports. The old reports work fine still, the only difference is that the new report has TableAdapters instead of DataAdapters to fill the dataset. Can someone shed some light for me cuz I'm stuck and the help isn't very helpfull. I'm feeling either I'm messing a step or not setting something c ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Connecting XNA to Xbox 360

    I'm trying to connect my xbox to my PC so I can test some of the games I have made with XNA and I've been having a bit of trouble. Everytime I connect it says "Your console didn't obtain an IP address from your DHCP server" no matter what I do with the network settings. Can somebody tell me what I should do to get this working please I can connect to xbox live because with that I just connect directly to the modem but with XNA I am trying to connect to the PC and it just won't assign an IP address. I also cannot connect to the PC using the windows connect thing either. When I run the diagnostic it gives me the error I have in my first post. ...Show All

  • Visual Studio Tools for Office VSTO SE + Office 2003 + VS 2005 Pro

    This is more of a Getting Started type of question. For some reason, I'm not finding any kind of basic tutorial that covers building an Add-In using VSTO SE (Beta) + Office 2003 Pro + Visual Studio 2005 Pro. The document that comes with VSTO SE Beta describes how to build a Ribbon, Custom Task Pane and a Custom Form Regin but all for Office 2007 components. I'd like to build an Excel 2003 add-in (or whatever) that displays a button to my end-user. Once the button is clicked I'll grab some data from the current/active worksheet, send the data to a web service and then take the results of the web service call and poke it back into the current worksheet. I've been able to do this in old school VBA (plus the now unsupported SOAP Toolkit) b ...Show All

  • Visual C++ what is the difference between a fatal error and a "non-fatal" error?

    this is my understanding of it but im not sure if i am right. fatal error: this kind of an error causes the program to crash as soon as its encountered. therefore, if a fatal error is encountered in the third line of a 100 line program, only the fatal error will be displayed and you will be told that your program has just one error (assuming there are no errors in the first two lines) even if there are 40 more errors in your program from line 3 to line 100. this is because, like i said before, as soon as it encounters the fatal error on line 3, it stops and doesnt go looking for errors any further. this means that when u get a fatal error and fix it, the compiler does not stop at line 3 but then goes on and finds the other 40 erro ...Show All

  • Windows Live Developer Forums bug in VEPushpin.Dispose()

    The VEPusphin.Dispose function contains 2 bugs. The function is VEPushpin.prototype.Dispose=function(){this.DetailsStyle==null; this.TitleStyle=null;this.IconStyle=null;this.Details=null;this.IconUrl=null;this.Title=null;this.LatLong=null;this.ID=null;this.m_vemapcontrol=null;this.m_vemap=null this.DetailsStyle==null should be this.DetailsStyle=null this.IconUrl is also wrong, the icons url is actually Iconurl (or Iconurl should be IconUrl to keep with the naming convention). Luke John Yea, i was trying to track down the memory leaks and found them both, who knows how many other typos like these exist in the api. Despite setting them to null myself before calling .Dispose() mys ...Show All

  • Windows Search Technologies Sending an email in Windows 2000

    I have a user who can drag and drop a PDF into an email and send with no problems. However, when he right clicks on the PDF on the desktop and send to>mail recipients. The message will look like it sent, but when trying to open somethign else it freezes up and he's unable to do anything. I noticed that during this time, I could open taks manager and delete the explorer.exe on the processes tab and then go up in task manager>new task, and enter explorer.exe and it would bring back the desktop and I'm able to open things again. It seems to me to be a explorer issues. Does anyone know of an update or registry fix possibly for this He is using Windows 2000 operating system with Adobe Professional 6.0. Thank you ...Show All

  • SQL Server SQL Mobile Fails to send data to IIS - Merge Replication

    This is just too simple. I must be doing something wrong. I have tried everything, redoing the SQLMobile merge publication, setting permissions, and need help ASAP. The basic test with the http://localhost/sqlmobile/sqlcesa30.dll returns the message: SQL Server Mobile Server Agent 3.0 I have tried the merge replication with both my local SQL Server 2005 installation and a remote development box. Both instances return the same error. I am able create and replicate a database using the sample application: http://msdn2.microsoft.com/en-us/library/ms171908.aspx However, another simple applications fails to synchronize when simply using the following code block: Dim repl As New SqlCeReplication() repl.InternetUrl = " ...Show All

  • Visual Basic trying to add a delegate for AddressOf WindowProc

    I am trying to add a delegate as indicated by the upgrade wizard. I can't figure out how to eliminate these errors. I added the delegate as best I understood how to do this. Can anyone follow this Ideas   Appreciatively.  -greg   MainForm.vb   'UPGRADE_WARNING: Add a delegate for AddressOf WindowProc Click for more: ref: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbup1048.asp       defWindowProc = SetWindowLong( Me .Handle.ToInt32,MessageHandler.GWL_WNDPROC, MyWindowProc)      Error :   Value of type 'MainForm.MessageHandler.WindowProcDelegate' cannot be converted to 'Long'.       (referri ...Show All

  • .NET Development Create table access database?

    I have access database,one table Table1 and I wont to create another table but with the same structure as the table Table1 (columns: Broj iksice,Prezime,Ime,Broj indeksa,Broj pohadjanja). I used this code: Dim veza As OleDb.OleDbConnection = New OleDb.OleDbConnection(Global.Diplomski1.My.MySettings.Default.Studenti1Connection) Dim comm As OleDb.OleDbCommand = New OleDb.OleDbCommand("CREATE TABLE Marko ([Broj iksice] DOUBLE PRIMARY KEY UNIQUE, Prezime TEXT(30) NOT NULL, Ime TEXT(30) NOT NULL, [Broj indeksa] TEXT(20), [Broj pohadjanja] INTEGER)", veza) comm.ExecuteNonQuery() for creating table in the database. Code for creating table in the dataset Studenti1Data Private Sub Button6_Click(B ...Show All

  • Visual Studio Team System Long file names?

    Hmm, getting a lot of errors on schema import like this: Path for file C:\Documents and Settings\Highway\My Documents\Visual Studio 2005\Projects\Highway\Highway\Highway\Schema Objects\Tables\tblwFinancialTransactionActionReasonLookup.FK_tblwFinancialTransactionActionReasonLookup_FinancialApplicationId_tblwFinancialApplication_FinancialApplicationId.fkey.sql is too long. Yup, sounds quite long. Does this mean it didn't import it, or has it secretly shrunk the filename and imported it Sadly, it looks like your running into a limitation of MAX_PATH. That full string is 289 characters long. You'll need to move your project out of Documents and Settings. Cheers, Brian Randell MCW Technologies ...Show All

©2008 Software Development Network