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

Software Development Network >> Kristian Wedberg's Q&A profile

Kristian Wedberg

Member List

KookyDude
AlbertG
Tommi Pitkälä
cracklestudios
Priyanka Choughule
AaronTM
qjs
RubenPieters
Andrew Stanford
misexpert
patriot074
Marcos Ruano
OClaudiu
John Paul Cook
GaryMcC
Luis Esteban Valencia MCP Web
montechristo
J M B
Alex-MyRpg
bilsa
Only Title

Kristian Wedberg's Q&A profile

  • SQL Server Conversation that dont end.

    Hi There Message ordering is of utmost importance in our application. As i found in testing the only way to ensure message ordering is if they are in the same conversation.If you send multiple messages in different conversations there is no garantee which will be processed first. Therefore i will be creating conversations that last "forever", that is using a single conversation. I plan on doing a BEGIN DIALOG CONVERSATION when an inititator site is setup and writing the conversation handle guid to a table. I will them simply SEND ON SONVERSATION using the guid, i will never issue a end conversation from target or initiator. Is this theory solid, ie: is there a better way or best practice to do this I know tha ...Show All

  • Windows Live Developer Forums Mega Cluster logic

    Dr Neil first mentioned this on the via virtual earth site recently and now I need to use them. Just though I would put my ideas out here and see what you all think and can add. To be clear this is a concept and I’m looking for ideas / help before I build it. Basically the issue is you have X number of points to put on the map where X is very large. 1. If you go and add them all it is going to slow down to a crawl. 2. If you have points at a close proximity at certain zoom levels they are going to sit on top of each other and be unhoverable. The solution is to have a mega cluster that provides information about the points it represents. Firstly we need to look at how we calculate what po ...Show All

  • Visual Studio Tools for Office PowerPoint 2007 and CustomXMLParts

    Is there any Information about programming PPT 2007 Using the CustomXMLParts Not PP specific, but here's a link to a Blog that discusses the CustomXmlParts collection The Microsoft Office Word Team's Blog ...Show All

  • Visual C# Stored prcedyre help nr. 3

    I am making an winapp in C# and have SQL Express database that I want to get posts from. User can type in the search criteria so I made an Stored procedure. look here: ALTER PROCEDURE dbo.finnKunde @fornavn varchar AS SELECT KundeID, Fornavn, Etternavn, Adresse, Postnummer, Poststed, Telefon, Epost FROM Kunde WHERE (Fornavn LIKE '%' + @fornavn + '%' ) OR (Etternavn LIKE '%' + @fornavn + '%' ) OR (Epost LIKE '%' + @fornavn + '%' ) 1.) first problem is that when I run this sql in Sql buider it works fine, it returns correct values, but when I run this stores procedure it returns all posts from my table...any suggestions. Yes. But ...Show All

  • Visual C++ Can't dynamically load VC8 library?

    I would say I am beginning to hate manifests... unfortunately, I am already well past that point. I have an application that dynamically loads a dll (i.e. LoadLibrary() ). It worked when I built with VC6. Now that I am trying to build with VC8, I get the following error: Runtime Error! Program: <path-to-my-program.exe> R6034 And application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information. I used to get this error trying to run the application itself, but was able to resolve it. Is there something special that needs to be done to use LoadLibrary now that one has to deal with these awful manifest things First, an externa ...Show All

  • Visual C++ Upgrade to VS2005 gives problem with iterator

    Hi all, I have been assigned a task to upgrade a solution to VS2005.The solution is originally written in VS2003 and Compile with 0 error and 0 warning in VS2003. This solution contains 48 Projects. I am sending the excerpt of the code. This Code is working Fine in VS2003 but it is giving the following error in VS2005. Is there any specific way to use iterator in VS2005 . Code : typedef std::vector<_TCHAR *> FTBaseResourcePaths; class STXferWinsock { Public: FTBaseResourcePaths * m_pPathVector; } DWORD WINAPI STXferWinsock::thfnSocketThread( LPVOID dwUser ) { STXferWinsock * pThis = (STXferWinsock *) dwUser; --- -- //Some code here - ...Show All

  • Visual C++ Running a very simple Win32 app... / VS2005pro & MFC: Same thing?

    Hi! I have installed VC++ 2005 Express and the Platform SDK according to the instructions on MSDN: http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx Compiling and running the following program on the dev computer works like a charm: http://www.winprog.org/tutorial/simple_window.html I then changed to release-mode, turned off debugging in the project properties and copied the .exe to another computer without VC++ 2005 Express on. I pretty much expected problems, so I wasn't very surprised when I got the error message saying that there was something wrong with the program configuration, like the one here: http://forums.microsoft.com/msdn/showpost.aspx postid=23371&siteid=1 I have since then combed this forum and ...Show All

  • Visual C# Run application as a Service

    What type of project it should be to run as a service Say if I create something and want to run it as a service how to do it and some of my other application has to use that service how does that work Sean Hederman wrote: Perhaps we were talking about WCF because he asked specifically about it and .NET 3.0 Ooops, Sorry, I did read his only first post and then the solutions you people provided and ignored the post in which he wrote about WCF. In first post he didnot specify anything specific to .Net 3.0 so it was m y mistake. Best Regards, Rizwan aka RizwanSharp ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. lost device in multiple device scenario

    i'm using multiple devices to render multiple windows, on loosing a device my d3dDevice->Reset() function fails. i'm releasing all the resources allocated for that window on loosing th device. do i have to release all the other devices and their resources in such case what could be possible reason that the device reset fails The easiest way to understand that sort of issue is to use direct3d debug runtime using the control panel and activate all debug functions you can. It'll certainly display relevant informations in the debug output concerning the problem. Concerning your specific issue, be sure to wait that IDirect3DDevice9::TestCooperativeLevel returns D3DERR_DEVICENOTRESET before yo ...Show All

  • Windows Forms [c#]out of mind with cell formatting

    Hi again :( Im still having problem with the datagridview. All i need, is to format a number like "1" to "1.00" in some cells. Im trying this using CellParsing, CellFormatting and CellLeave. On designer i've already set "default cell style format" to "t". Before posting, i've already search the entire forum, but i've not found a solution for my problem. Any helps Thx. Hi :) First of all, thank you for help. This code doesnt work for me :( Here is my code in Cell_EndEdit function (because i need a formula column) private void dgv_CellEndEdit(object sender, DataGridViewCellEventArgs e) { int last column = 3; DateTime dt1, dt2; bool isDt1, isDt2; if(dgv.Rows[e.Ro ...Show All

  • Visual Studio 2008 (Pre-release) Soft scrolling in WPF?

    As it seems to me, the ListView when pressing the scroll buttons on the scrollbars scrolls from element to element rather than soft-scrolling a defined step as in, for example, Internet Explorer. Is there a possibility to get the usual soft-scrolling effect in WPF ...Show All

  • Visual Studio Express Editions Zip Files

    Are there any free zip libraries for c++ Other wise I was just thinking of using a system command and use a dos zipper like pkzip to zip files, but I would like to have more programtic control and so a library would fit much nicer. Any clues from anyone If this is a native C++ application you make want to look into zlib or zlib for Windows . If on the otherhand this is a .NET app written in C++, #ziplib would be your best bet. ...Show All

  • .NET Development How to ignore invalid certificate name

    I use FtpWebRequest with EnableSsl = true. But I have some problem. The certificate name is invalid, and when I receive an error "The remote certificate is invalid according to the validation procedure". How can I ingore invalid name error on certificate http://fabioscagliola.spaces.live.com/blog/cns!919F8FCDE3DC9AC4!154.entry _c11_blogpart_blogpart=blogview&_c=blogpart#permalink ...Show All

  • Visual Studio Team System Delete a source control repository

    I was trying to reorganize our TFS repository ... after shuffling some projects around and deleting some (now) unused projects using tfsdeleteproject, I'm left with the source control repository of those now deleted projects, and no way of deleting them. I found this post from last year, but it didn't exactly resolve anything, so I was wondering if a solution to this had been found/explained yet: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=587355&SiteID=1 Thanks, In Team Foundation Server 2005 there is no way to permanently remove content from source control once it has been checked into the system. In our next version, we are adding functionality to "Destroy" content (permanently remove) in source control. ...Show All

  • .NET Development FTP Error: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

    Hi, I am using a FTP client in my application. This FTP client is a freeware for .NET version1.1. It works fine for all files except two files. But these two files are required to FTP to a mainframe machine. I am able to FTP these two files in command prompt but getting error if I am trying to FTP through my c# application. These two files are giving two different errors mentioned below: 1. Index (zero based) must be greater than or equal to zero and less than the size of the argument list. 2. Input string was not in a correct format. But strangely, if I am trying to FTP these files to a Windows platform then it's getting FTPed successfully. I am also giving right SITE command for mainframe requirement. I am gettin ...Show All

©2008 Software Development Network