jsedlak's Q&A profile
SQL Server Deployed Application isn't connecting to SQL Server
When deploying my application that uses sql server it doesn't connect to the server. I checked the connection string & it's ok the server instance is the same. The computer name isn't the same & i use the .\SQLExpress as the data source. I get an error saying 'sqlserver does not allow remote connections error 26 locating server / instance specified'. This link can help you. http://blogs.msdn.com/sql_protocols/archive/2006/03/23/558651.aspx ...Show All
Visual Studio 2008 (Pre-release) Design question (data binding) -- suggestions?
Hi all -- if anyone has any ideas on how to solve this, I'd greatly appreciate it. I'm somewhat stumped. Let's say I have a class Home, which has several properties, one of which is a collection of Rooms. Each Room in turn has several properties. The main window UI has Bindings to the Home, and possibly to some of the Rooms. Thus, as the Home's properties change, or as a Room's properties change, the UI is updated. Good stuff! NOW ... let's say that I have a modal dialog that allows you to edit a Room. This is a "standard Windows" dialog in the sense that it has OK and Cancel buttons. From the user's perspective, at least, changes made to the Room occur if and only if he or she presses the OK button. So it would seem ...Show All
Visual C++ exception '0xC0020001: The string binding is invalid.' on application exit
I have a managed app that uses a native library wrapped in a managed wrapper. After making adding a wrapped class to the library it started to produce the above exception on exit. I couldn't find any help with this specific issue when searching and am posting this in case it helps the next person to have this issue. I resolved it by following the the instructions here: http://support.microsoft.com/ id=814472 The odd thing is that I don't get the linker errors which the article describes. In my case I'm compiling with the /oldclr switch. I removed the entry point and added code to call __crt_initialize_dll() and __crt_terminate_dll(). I thought that they fixed this issue in VC8, so if ...Show All
Windows Forms subscript / superscript?
Dear All Is there a way of making the text label of a checkbox have subscripts and/or superscripts Some code would help please. cheers, prasad.. its not that I wasnt happy...but I donot know how to handle RTB, I just created one dynamically (code) and now I want to write something into it and make it uneditable. I donot know how to write text with subscript and superscript into it! prasad.. ...Show All
Visual Studio 2008 (Pre-release) Convert old C++ MFC application to WCF
How easy or hard to convert an old MFC application written in C++ to use new WCF libraries Thanks. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA 360 games.
Will you be able to burn game's off your computer from the XNA game studio or not Yes but i didnt mean it that way...i was talking about being able to put game studio games on your 360 without taking up the hard drive space. ...Show All
.NET Development How doesThreadPool really work?
Dear folks, I wonder how to use properly the pool multithread that Framework bring us with the 2.0 version. My goal is to reach three threads running at the same time (as a maximum) and when comes the four one whether are running the previous ones, do a sleep until find a place for that. My schema is the following: If icont > 3 Then If Thread.CurrentThread.IsAlive Then **** This is a four one T_GestorHILOS.QueueUserWorkItem( New WaitCallback( AddressOf PruebaVarios), objeto) ****I wonder about this suspension.. It affects the third or fourth Thread.CurrentThread.Join() icont = 1 End If ...Show All
SQL Server trigger- get row number from inserted/deleted
I need to add the row number or record number to the 'inserted' and 'deleted' tables in a trigger. Among other things, I have tried- SELECT 1 as rowId, i.* INTO #ins FROM inserted i if @@ROWCOUNT > 1 --if multiple rows, set row number begin SELECT @pkWhere = coalesce(@pkWhere + ' and ', ' where ') + PKF.colName + ' <= i.' + PKF.colName FROM #primaryKeyFields PKF set @strSQL = 'update #ins set rowId = (Select Count(*) From #ins i' + @pkWhere + ')' exec (@strSql) end -the above sets rowId for every record to the total instead of sequential. Keep in mind that this code is used to create a trigger for any table, hence I cannot specify any column names literally. This SHOULD be simple... right ...Show All
Visual C# create a browse componet
Hello.. Anybody knows how to create a folder browse control or another way to prompt for folder location (upload files to a site) Thanks, There is already a Dialog named FolderBrowserDialog and i think that will work for you without reinventing the wheel. System.Windows.Forms.FolderBrowserDialog See the ToolBox to find this and use in your application. Best Regards, Rizwan aka RizwanSharp ...Show All
.NET Development Error using FTPWebRequest
Hello, I want to upload a file through ftp, and I have a simple code like this: filename = "ftp://e-breadmaking.izr.com/Ebreadmaking/VR2/" + filename; Uri u = new Uri(filename); FtpWebRequest f = (FtpWebRequest)WebRequest.Create(u); f.UsePassive = false; f.Method = WebRequestMethods.Ftp.UploadFile; f.Credentials = new NetworkCredential("user","password"); Stream requestStream = f.GetRequestStream(); // upload file.... requestStream.Close(); but it raises an exception in the line Stream requestStream = f.GetRequestStream(); saying "Remote server error (550) ... " What is the problem Thanks I ...Show All
Smart Device Development PDA cradled?
Hi, I'm developing a PDA application and I was wondering if it was possible to check if the PDA is cradled Thanks, Tobias general SNAPI info: http://channel9.msdn.com/Showpost.aspx postid=209784 The namespace you'll need is: Microsoft.WindowsMobile.Status ...Show All
Visual Studio Visual Studio 2005 Service Pack 1 Beta
Has anyone else tried to install the beta of Visual Studio 2005 Service Pack 1 Just running the setup program hogs my machine. It literally took over an hour, maybe more, for the message box to come up asking me if I wanted to install it. I tried it around 4:15pm yesterday and since it was still going even past 5pm I just left work figuring it would be installed by the time I came back in the morning. Well, I'm back and all I see is the message asking if I want to install. I say yes and then a few minutes later it comes back saying I have to uninstall the Web Application Projects addon because the release version is included in the service pack. Great, I hit OK and now I have to start all the way over! I've never seen an install program h ...Show All
SQL Server install error
I have tried to change the name of the file in the regedit and I am still receiving the same error that a previous program installtion created pending file operations on the installation machine. You must restart computer before running setup. What do I do now i ahve restarted 3 times. Also please review the following before you modify registry... IMPORTANT : This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986 ...Show All
Visual C# delete crl caching with capicom
With the function:check revocation status with capicom to delete crl caching i was obliged to delete each time the cache internet temporary files. But i have succeeded to delete all the cach not a simple entry since that directory is a special one. Could please help me to oblige capicom to go on wire to check crls each time or to delete simple file in the directory internet temporary files. I rely on your support ...Show All
SQL Server Why is reporting services designer modifying my sql statement???
Hi! I hope that Microsoft can weigh in on this one: I have a sql statement as part of a report that I'm developing using VS2005 and SSRS. The WHERE clause (part of a much larger SELECT / UNION initially is: WHERE (s.cnt = 51) AND (fi.FI_Status = 0) AND (fe.FE_Status = 0) AND (fi.FI_Customer IN (@Customers)) AND (fi.LOB_INSTECSpecificCodeNumber IN (@LOBs)) I'm adding "All" support so I'm modifying it to: WHERE (s.cnt = 51) AND (fi.FI_Status = 0) AND (fe.FE_Status = 0) AND (fi.FI_Customer IN (@Customers) OR 'All' IN (@Customers)) AND (fi.LOB_INSTECSpecificCodeNumber IN (@LOBs) OR 'All' IN (@Customers)) On pressing the "!" button to test the query the designer is changing my sql to: WHER ...Show All
