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

Software Development Network >> S&#248&#59;ren Spelling Lund's Q&A profile

S&#248&#59;ren Spelling Lund

Member List

Grigori Somin
Ramzi Aynati
PSD
Adria Grau Rovira
Red Maple
rekan
adrien62
XPDev
d_a_heitbrink
jradi
horseshoe
Philippe Trottier
Scott L
Lovelu
erudite_22
sheepshower
DB2Question
gstring570
SnowGrassland
kit thambiratnam
Only Title

S&#248&#59;ren Spelling Lund's Q&A profile

  • Visual Basic DataTable and MDI form problems in VB.Net 2003

    Hi all, I will be really happy if someone could help me with a problem that has been causing me heartache for about a year. From an MDI parent I want to directly access the contents of a DataTable that is in an MDI child that is only singled out by its caption text. In the parent I figure out which MDI child I want by counting over Me.MdiChildren.Length while comparing its Text with the caption I am looking for. I then find the Janus Grid that is in the MDI child that the DataTable is bound to. I then get the data through the grid control but the grid "conditions" the data depending on how it is sorted. I can't seem to ...Show All

  • Visual Studio Express Editions question about vb express and hanging the pc

    I have installed the entire package and even started a first project, the problem comes when I move a web browser control to the form, the CPU goes to 100%, and pretty much the system is EXTREMELY slow to respond, makes sense if it's maxed out, but why is this happening my cpu is a 1.5Ghz should be able to handle this software just fine , plenty of memory almost a Gig, so what is the deal anybody else run into this no great comfort for you regarding why this is happening - just a note to say you're not alone. similar/higher spec platform, uneventful installation, but identical hang with the browser contr ...Show All

  • Visual J# Any possibility of supporting newer JDK features?

    I like J#, and find it a great development environment, and the language support is pretty good. But the JDK is ancient...  It drives me nuts, every time I go to use a standard Java class, I find out that the methods I'm used to using aren't implemented, or the whole class doesn't exist.  This is true for everything from basic classes (like BigInteger and Date) all the way through to complex stuff (the security & Crypto stuff is really lame). Now that Sun and Microsoft are supposedly making nice, would it be possible to update the class libraries to be a bit more complient with modern JDKs Or is J# really a dead-end, just here ...Show All

  • Visual C++ Error PRJ0019 : A tool returned an error code from "Performing registration" ProjectName

    Hi, I'm facing one problem when compiling vc6 project into vc8 compiler. Error PRJ0019 : A tool returned an error code from "Performing registration" PantherConfig I have gone thru a number of links providing solution for this but couldn't get correct solution. I think it is having problem in registration dll but not sure. In Build log it is telling that "Cannot open the specified file testerinfoerrors.err for reading" while this file is existing. Please highlight some point over this. Thanks in advance. Madhur Does running regsvr32 to register your component on the command-line (outside the IDE) work at all If not, you'll need ...Show All

  • .NET Development How to get Dictionary<Tkey, TValue> entry information through reflection?

    I have been working on some code that probe through the entries of a generic dictionary Dictionary < TKey , TValue > , using reflection. Unlike working with Hashtable, it's not easy to find out the entries' key and value information. Here is the code depict the problem. Suppose I have a class hold two fields: public class MyClass { Dictionary < string , DateTime > m_dateTimeDictionary; Hashtable m_dateTimeHashTable; } I have an instance of the class and its type info: … MyClass myClass = new MyClass (); Type myType = myClass.GetType(); … I have ...Show All

  • Visual Studio 2008 (Pre-release) Printing

    I'm struggling to find a sensible way of printing user forms and there doesn't seem to be much information in the SDK or on blogs. I have an ItemsControl bound to a DataTable and I would like to print each item to a separate page and specify a printing DataTemplate. Do I need to create an XpsDocument to do multipage printing I've had a go at this but haven't been able to make databinding work inside FixedPages so is there an easier way that I've missed Thanks Michael Hi Michael Sorry for the late response. Have you looked at Begin/ EndBatchWrite and CreateVisualsCollator You can do some ...Show All

  • Smart Device Development Could not receive bytes from socket on PPC 2003

    Hi, I am developing network application on PPC 2003 with VS2005. In my VC++ program after creating a socket, my previous desktop applcation statment is int tnum = recv(sock,tbuf,1,MSG_PEEK); but I searched on MSDN MSG_PEEK is not supported for PPC ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcewinsk/html/_wcesdk_recv.asp ), so I changed it to tnum = recv(sock,tbuf,1,0); but everytime tnum is equal 0 and there is a socket Error. So, is there any special note for networking on PPC Thanks. Stefen Huynh well you dont require to use ioctl . You must debug the server to see what is going on ...Show All

  • SQL Server Unable to uninstall SQL Server Express 2005 Tools

    I get an error message when trying to uninstall the SQL Server Express 2005 Tools.  It reports, The setup has encountered an unexpected exception in datastore.  The action is Write_CommitFlag.  The error is: Unable to write property into cache: flagCommit. XmlRW Error: Failure loading XmlRW.dll CheckAllProcedures() It is currently preventing me from installing the full Sept CPT because it needs to have the express components removed. Any Ideas, this is really frustrating.   You could try SQLEXPR.EXE /x which will prompt you for target directory... ah.. wth am i doing with a two year old topic. ...Show All

  • Visual Basic Unable to Convert Excel to XML

    I am Trying to Convert my Excel Sheet to XML Format. 1) Able to Open Workbook and Convert to Dataset using Visual Basic.Net In a Sheet, it contain Formula Cells, Merge Cells ,Refered values from other Cells and Freezed Panes. If i Give range on the Query then within the Range all the values are coming Null. I am Using XMLTextConverter to Convert values into XML Format. Is there any sample code on that to read the Excel Sheet. in this type what i said above. The simplest way I can think of to do that is to load a speadread sheet into a dataset. Then use the dataset's writexml method. How to load a spread she ...Show All

  • .NET Development My Application works in Debug mode only

    Hi all, My .NET application works in debug mode only. If I build my application without the "Generate Debugging Information" equal true, the application start properly, looks like everything is just fine, I can use several commands of the same type, but it stops working, I mean it goes in a loop or something. If I run the same application with debug option equal true and I do the same test everything work just fine. This is a problem because a cannot debug the issue using VS. About the application: Language is C# IDE is Visual Studio .NET 2003 Type is a Windows Forms graphical application to draw vectorial persistent ...Show All

  • SQL Server Problems when Oracle running on same machine

    I was deploying my Report Model in Visual Studio but got an error that it couldnt connect to my Report Server while it was running. When i typed the address of my ReportServer I got an error, then when I typed the name of the localhost  got an Oracle screen. So then I decided to turn off all the Oracle things running on the machine. Then when I tried to deploy again it worked and I could go to my ReportServer without problems. I'm not very familiar with Oracle's HTTP stack. You don't mention which version of Oracle you are using but 10g comes with a modified version of Apache called OHS. I think ...Show All

  • Visual Studio 2008 (Pre-release) Modal Windows And Transparency

    Hi, Seeing as you have to make Transparent windows by doing native methods (Gadget example), I would like to know the following: 1) Is it possible to improve the appearence of the transparent window seeing as controls on the transparent window appear with a few pixel errors here and there. 2) Is it possible to make the modal Thank you very much Jaco CodeDjinn, I haven't seen issue #1 -- could you send me a repro app so that we can investigate For #2, there is no built in modality support for HwndSource, but you could simulate it by disabling the other windows on the thread. We should p ...Show All

  • SQL Server SQL Server Data Archiving

       I am wondering if there is a quick simple method of archiving partial data from a sql server db Is the easiest method via scripting or is there another more direct method Yes I am new to DBA methods. Any help greatly appreciated. Look at the DELETE statement in Books Online. For example, if you have a date column in the table you can do:   delete tbl where datecol < '2005-09-07'   Note that DELETE removes the data from the table/database so you cannot retrieve it back without having a backup of the database. The command-line options for BCP utility is also present in Books ...Show All

  • .NET Development "Unauthorized" when calling a Web Service from ASP.NET in the same solution.

    I've got a small project, that has in it a simple web service (with the standard "HelloWorld" method in it), and a simple ASP.NET application that calls the web service. I'm using the built-in web server, and not IIS. I'm on Windows XP SP2, running VS.NET 2005 Beta2. When I added the web reference, I added it using the "Web Services in this solution" link, and everything added correctly. When I call the web service however, I get an exception whose details are: "The request failed with HTTP status 401: Unauthorized." I figure this is a variation on the old 2-hop problem for windows authentication, so I went into the web service and changed ...Show All

  • Visual C# Getting the executable directory

    I've had a good look on the Web but can't find the answer to this... How can I find out the path where my service is installed to, rather than the working directory (typically ..\windows\system32\) This is with a view to reading config files, writing log files,etc, within the installation folder. Thanks for any tips, Mike It's a static thing available to all, it's not an ASP.Net thing. However, if your project is not already referencing "System.Windows.Forms" you would have to add that reference. Then the full call would be: System.Windows.Forms.Application.StartupPath So if you're not alr ...Show All

©2008 Software Development Network