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

Software Development Network >> Kim Carlsen's Q&A profile

Kim Carlsen

Member List

SarahB123
smilemax
Steffanp
Alexandrea
Will Merydith
MaggieChan
87jerome
_Michael_
Anderss22
Matt_343
Mortsdeh
wirol
Ron L
ReneeC
sean_kirkpatrick
JJ Unbreakable
ShadowOfTheBeast
jan.zajic
SamSam698
John123
Only Title

Kim Carlsen's Q&A profile

  • .NET Development System.BadImageFormatException after SP1

    Hello all, I have a considerable problem of late. I have a service whick our company counts on to report Dynamic IP addresses of our customers back to a central database, I have recently made some configuration updates to this service and it's corresponding GUI and recompiled it. I now receive the following error: System.BadImageFormatException This occures when I try to install the service. I have done a search on it and I found some documentation relating to this issue and static variables and partial classes, but I also found a note it was slated to be fixed in SP1 because it was a bug in the compiler, well that concerns me even more being that all was fine with my service till I installed SP1. Anyone have any thoughts I am kin ...Show All

  • Visual Basic calls function from DLL, but something wrong about run-time error "53"

    I try to call a function from DLL, but it cause run-time error "53". It means "File not found". But I have copied the DLL file in my project folder. Could you kindly advise how to resolve it. Thanks. YuSian wrote: I try to call a function from DLL, but it cause run-time error "53". It means "File not found". But I have copied the DLL file in my project folder. Could you kindly advise how to resolve it. Thanks. Maybe you try copy that DLL to c:\windows\system32 Good lucky. ...Show All

  • Visual C++ Arbitrary window transparency

    Is there an easy way to make use of the GDI+ layered windows so that I can set each pixel's transparency value independently What I want is a window that has no default border, a semi-transparent background (if possible a PNG image with alpha channel or something similar) and an opaque text on it. This way, I can see through the window background but the text is always readable. More simple ways like setting the overall window transparency to a constant value like 70% looks ugly because then the foreground text is also transparent and hardly readable on some backgrounds. I see that the UpdateLayeredWindow function could probably be used for this, but reading the MSDN page, I have absolutely no clue how to do what I want with this function. ...Show All

  • .NET Development Efficient way to remove double quotes from a string.

    For some reason, I am reading a string out of a config file, and rather than just getting the string, I am getting it in double quotes. Here's a clip of my App.Config file   < setting name = " TextLogFileName " serializeAs = " String " > < value > C:\CodeTracingFile.txt </ value > </ setting >   When I read this value into a variable, the variable ends up with ""C:\CodeTracingFile.txt"" I don't know why the double quotes are being added, but I'd like a simple efficient way to get rid of them. I tried using String.Replace, but it wants a character, and I don't know how to specify a quote as the item I want replaced. The above did not work because the Replace do ...Show All

  • Visual C# C# Class hierarchy poster

    Does anybody know where a wall poster of C#'s hierarchy can be downloaded(preferably) or bought from. When I did a search on microsoft's site they claimed to have one but it was a broken link. Thanks in advance for the help. Well, the vs2005 posters may have gotten lost, but the vs2003 posters are still there: http://msdn.microsoft.com/vstudio/previous/2003/posters/download/ ...Show All

  • Visual Studio Express Editions Connecting VB Express 2005 to ODBC 3.51

    Hi Im a new guy at VB but im loving it :) im having some trouble in connecting an MYSQL DB in the Visual Basic Express 2005. I use the wizard for adding new connection but the pre configured connection doesn’t apear, only the connection driver to Access Database and SQL Server driver. But the driver (and connection) to Mysql server isn’t there.Can some one help me Best regardsFrederico Pereira The VB Express IDE is intentionally designed to support Access and SQL Express data sources. To obtain IDE support for other database providers you will need to purchase a copy of the VB Std or above. You are able to write code for other database providers but you wont get IDE support. This is because all versions of VB.NET use the same ADO ...Show All

  • Visual C++ Spawn invalid argument: Fails at VS2005 but was working at VS2003

    Hi, I'm just trying to convert some sample code from VS2003 to VS2005. Now this line was working fine at VS2003: nPid = _spawnl( _P_WAIT, "process.bin" ,NULL); But if fails at VS2005, returning invalid argument. I have also tried: nPid = _spawnl( _P_WAIT, ".\\process.bin\0" ,NULL); nPid = _spawnl( _P_WAIT, ".\\process.exe\0" ,NULL); Of course, process.h is included. So what has changed with spawning at VS2005 Thanks in advance. ERROR_NOT_ENOUGH_MEMORY is sometimes used when there is a catastrophic error that cannot be described another way. Or something like that. The important thing is that it can be misleading; there might not be a ...Show All

  • Visual Basic Suppressing events such as text change

    how do i or can i suppress events such as text changed. cos i want to set text in code and hence so not need it to be validated and stuff err, actually i thought of wanting the user to be able to set a default value to the text box depending on a combo box input, then he can change the text, (which then i want to validate). but i think this is extra and if it can't be done then its ok. after all i am just learning ...Show All

  • SQL Server reading partitions when a dimension is being queried

    Hi, something I am not able to understand, I have a dimension which contains about half a million records and about 25 attributes, no hierarchies and all attributes are related to the key (have to change this). The dimension key is pointing to a fact table which is partitioned with one partition per day in the cube. in BI studio browser, if I drag and drop only one attribute of the dimension to the row field, and check the profiler it displays the following: MDSCHEMA_SETS: <RestrictionList xmlns="urn:schemas-microsoft-com:xml-analysis"> <CUBE_NAME>abccube</CUBE_NAME> <CUBE_SOURCE>3</CUBE_SOURCE> </RestrictionList> MDXQUERY: Drop visual totals for [abccube] MDXQUE ...Show All

  • Visual Studio Express Editions Image Retrieval Program

    guys, i need help, Im just new in using visual basic, and alot of people told me that its really easy to use it. I would like to create a Image Retrival Program which will do the following; 1. get a image(jpeg)(query image) 2. then choose from the following color-based algorithm; Pair-wise Color Method Color Histogram Method CH with Perceptual Similarity incorporated Histogram Refinement with Color Coherence CH with Centering Refinement 3. press [search] botton. after pressing the search botton, it will show images that are similar to the queried image in terms of pixels or colors. question: 1. how would i know the pixel or color information an image 2 2. how could i manipula ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is it possible?

    It's not going to be possible to make any games using XNA until August 30 correct It's Aug. 15 and I downloaded the free thing already and they said it has a drag and drop interface but I haven't been able to do anything new and the only thing from XNA in my start menu is ARM Explorer but I can't do anything, I'm really confused. " When your in C# and you want to add a reference to Microsoft.DirectX do I need to do version 1.1 or 2.0 I'm a tad bit confused about this." MDX 2.0 is a beta version that I understand will be dropped from the SDK when the XNA Framework comes out, since XNA is based on and supercedes the MDX 2.0 beta. If you're just looking at rendering then in my opinion I don't think it really matters which ...Show All

  • Visual FoxPro VFP8 & VFP9 error

    This error appears in the Task Pane Manager Class definition MSXML2.DOMDOCUMENT.4.0 is not found Task manager will no longer work. Any suggestions Bryant Minard Are you using something like this: var xxx = new ActiveXObject(" MSXML2.DOMDOCUMENT.4.0 "); if yes I think Alex Feldstein has right . ...Show All

  • SQL Server Setting up Client PC to access remote SQL Server

    Hi, I am a VB6 programmer and I'm really new to SQL Express, I have always used ACCESS because it was so easy to deploy. I've now written a VB6 program which uses SQL Express and I want to know how to deploy it. Basically my PC will host the SQL database as it has SQL Express loaded onto it. I now want to install my EXE onto other Client's PC and have them read/write to the database on my machine. Besides the EXE program, what software do I need to load onto the Client's PC so they can access my SQLExpress database... (eg: Net Framework, SQLExpress, etc). Also, if my machine is called ABC123, in my connectionstring do I just put in ABC123\sqlexpress as the datasource.. . Will this be enough for the other PCs to connect to mine ...Show All

  • .NET Development Adding Data TO Database After Accepting From DataGrid... Need Help?

    Hi all, Im presently working with a form which has a datagrid [vb.net]...! and a button named accept. datagrid has 10 rows, if the user clicks the button the data in the grid should be stored to the database..! database is MS - Access, SQL Server 2000 Coding Also would help me. But there is one more thing, if the user clicks the accept button the data in the grid should be entered into the database no matte how much rows are there in the grid, it can be 1 row or 10 rows but the database should be updated.. Need Help Thanks In Advance Have you checked this thread to see if it helps: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=427451&SiteID=1 ...Show All

  • Visual Basic VB.NET console application doesn't want to work as a scheduled task??!!

    Hi all experts, I'm experencing a very strange error. I created a windows console application to check all the process on server and if there is one or more process doesn't work, the application sends out an email. I deployed the application on the server and when I run it by double click the .exe, it works fine. If I add it as a scheduled task, it never gets the list of process correctly. Could anybody help me out Below is the code piece of get process list. ' GetProcesses For Each proc As Process In Process.GetProcesses() Try If proc.MainWindowTitle.Length > 0 Then Console.WriteLine(proc.MainWindowTitle.ToUpper().Trim()) procs.Add(proc.MainWindowTitle.ToUpper().Trim(), pro ...Show All

©2008 Software Development Network