Ranal's Q&A profile
SQL Server Cannot start SQL Server Browser
Hello, I use SQL Server 2005 for multi-user access. In the Surface Area Configuration, I changed the protocol from TCP/IP to Named Pipes and restarted the service. Then I went to SQL Server Browser, stopped it and clicked on Start to restart. I am getting a message "An error occurred while performing this operation". I am not able to get the Browser started. Any help would be greatly appreciated. Hey Matt, thanks for the response, The browser service keeps repeating this error: The SQLBrowser is enabling SQL instance and connectivity discovery support. and this error The SQL Server Browser service terminated unexpectedly. It has done this 45 time(s). The following correcti ...Show All
Visual Basic how to compile a .dll into my .exe file?
My code calls functions provided in an io.dll file. The problem is when I pass my exe file to others, I need to send this io.dll to them and ask them to put that in the same directory of .exe file. Is there any way I can compile this .dll file into my code so that only one file is necessary to pass around Thanks. What you're trying to accomplish is not an easy feat. If you got it to work (below) it would be largely considered hackish. Is there any reason why you can't ship the DLL as well As DMan has pointed out you could compile this assembly as an embedded resource. However on startup you would have to read the assembly out and write it to disk next to you EXE before you accessed any types ...Show All
Microsoft ISV Community Center Forums Insert Macro
Hello, I want to write a macro where on inserting a new row in the active worksheet, the newly inserted row will become yellow in color. But I dont know how to do this. kindly help Thanks There is no event handler for inserting a row. However, you can add a row and turn the background color to yellow with VBA. For example Sub X() Dim rngCurrent As Range Set rngCurrent = ActiveCell rngCurrent.Insert (xlShiftDown) With ActiveSheet.Rows(rngCurrent.Row & ":" & rngCurrent.Row).Interior .ColorIndex = 6 .Pattern = xlSolid End With End Sub ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Cannot run D3D 10 samples (Vista + Ocrober SDK)
Hi. Cannot run samples on Vista. Some samples run fine, but they have D3D 9 code, I think. For instance, ParticlesGS says it "Cannot find compatible device" or something. Have GeForce FX 5200, 96.85_forceware_winvista_x86_international_whql.exe drivers installed, will D3D 10 be available at all Thank goodness! I recently moved over to Vista RTM from RC1, and I am really looking forward to getting back to work on my D3D10 projects. Sean ...Show All
Visual Studio 2008 (Pre-release) unable to focus to a control
hi, i have a combo box where i am validating something, and based on the validations, am clearing the contents in a text box and trying to keep the focus on the text box. this is doing by textbox1.text = ""; textbox.focus(); i am unable to going forward from here. can any body help me in this situation. thanx in advance. --RK you could try app.Dispatcher.BeginInvoke(DispatcherPriority.Input, new SimpleDelegate( delegate { tb.Focus(); })); public delegate void SimpleDelegate(); ...Show All
Software Development for Windows Vista Workflow Versioning on an automated build server
I'm attempting to automate a build, and I'm having an issue with our Windows Workflow custom activities. I must confess I know little about Windows Workflow and I'm seeking some advice from others on how to approach this. It appears that an automated version incrementing task breaks the WF compile on the custom Activities with errors such as: C:\projects\Workflows\Workflow.xoml : error WF278: Activity 'SendException' validation failed: Property 'InterfaceType' is not set. C:\projects\Workflows\Workflow.xoml(4,5) : error 347: Could not deserialize object. The type 'XXX' could not be resolved. After I did a find/replace on the 'Version=1.0.0.0' tag within the XOML file with the newly incremented "Version=1.0.0.1" tag, ...Show All
Visual Studio Team System Looking for TFS Beta 3 Files
Hi All, Our TFS server was recently upgraded from RC to RTM. Everything works fine except for Sharepoint and Reporting Services. I was reading on here, http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=240555&SiteID=1 , that sometimes the RTM install will delete the Sharepoint files and that we need to copy a directory from the Beta 3 version onto our server and that will fix the problem. The only problem is that I cannot find the Beta 3 files anywhere in our system and I can't find where to download it from the MSDN web site. Does anyone know how to get these files Thanks, Adam Hi Adam, Were you ever using Beta 3 before RC Can you provide more detail about what is not working with Sh ...Show All
Smart Device Development about shortcut
Hello everyone, I use editor to open a shortcut file on my Mobile device. Which content is, -------------------- 135#"\Program Files\runSample.exe" -------------------- I am wondering what means 135# A special sign for shortcut of Windows Mobile thanks in advance, George The number before '#' is the length of application path between quotatation marks (incl. quotatation marks) The correct format is 30#"\Program Files\runSample.exe" The shortcut file is with extention ".lnk" ...Show All
.NET Development FTP Client
Howdy I'm trying to write a small FTP client with VB.NET 2.0 Any attempt to connect to the FTP server gets me the exception "(501) Syntax error in parameters or arguments." I've tried using My .Computer.Network.DownloadFile and also the FtpWebRequest class, both times supplying a URI, a method, a username and a password, but I get the same problem. Any ideas anyone My apologies. Two coding attempts follow. Both are attempting to download a file named tmp.txt from the root of an FTP server named DUDE. The username and password are correct. I have successfully done this manually from the DOS command prompt on the same machine with: ftp DUDE bob abcd get tmp.txt So I know the FTP server ...Show All
Community Chat who is DirectX 10 ??
i link DirectX 10 and windows XP sp3 download address plz lepi wrote: Hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii DirectX 10 uh oh duck ... looks like someone's got an e-crush on ya ...Show All
.NET Development Remoting / Serialization problem trying to Migrate to .NET 2.0
I am experiencing runtime errors since upgrading to the .NET 2.0 frame work. I am getting errors trying to instantiate remote objects. I get the error: "The input stream is not a valid binary format. The starting contents (in bytes) are: 53-79-73-74-65-6D-2E-42-61-64-49-6D-61-67-65-46-6F ..." From what I can gather, this happens when IIS sends back an error message as plain text that the binary formatter doesn't know how to handle. Looking at the logs generated from nHibernate (our OR mapping tool) I also noticed the following error: 14/11/2006 9:16:09 AM - An exception of type (SerializationException) occurred in (mscorlib) System.Runtime.Serialization.SerializationException: Type 'Nullables.NullableB ...Show All
SQL Server This is how you configure a DB2 Linked Server in MS SQL 2005.
With Linked server you can access DB2 resources as if it is another object in your SQL Server. You don’t have to establish links from all nodes to the DB2 Server. Connection from SQL server 2005 to DB2 Server is sufficient to all SQL server users to access DB2 resources. 1. Install MicroSoft OLE DB provider For DB2 in SQL server 2005. 2. configure as follows: Start - - -> all programs - - - > MicroSoft OLE DB provider For DB2 - - - > Data Access Tool. Right click on data sources - - -> New Data Source In Data Source Wizard - - > Data Source plat form = DB2/MVS or any other appropriate plat form from drop down Net work type = TCP/IP - - > Next Addre ...Show All
SQL Server Sorting Data having months
Dear all, I have a field [Month] in my table AA.having Data like ( January,February,March,April etc.) I need to sort them by starting of month lets say as January February March How i can i do this Have no index and can't define a index on this field Thanks for ur time and Help Regards Mohd Sufian All solutions will have the same effect, just a different form. You need to convert the month name into the proper number. You will have to profile the different queries to see which gives you the best performance. I would be surprised if there was a huge difference in the end. So some choices are: 1. Case statement as shown above. 2. Create a month table with month name and order number. Join ...Show All
Visual C# C# Project in Platform Builder 6.0
I have a C# application that I need to include in a WinCE 6.0 project using Platform Builder. I have tried 2 routes: 1. Create a "sources" file for the project. This has met with limited success. I can successfully compile the project, it gets built and included in the NK.BIN file and is present on the target device when I boot it up. The problem is that resources defnied in the *.resx files are not finding their way into the executable. I have tried every documented sources variables with no success. I've also tried some undocumented variables gleaned from makefile.def, but still no luck. Does anyone have an idea 2. Create a modified makefile to build the executable. This doesn't seem to work at all and the CE build pr ...Show All
Smart Device Development How do I switch back to CF1.0 from CF2.0 in VS2005?
In the creats projects dialog, there's only an option to select in Pocket PC 2003 for Device Application and its stated in the description, Compact Framework 2.0. There's no Device Application meant for CF1.0. I've tried to uninstall CF2.0 but creating a new project projected an error abuot some .dll not found. Is there a way for me to switch back to CF1.0 Thanks! NETCF V1 applications are marked with (1.0) in the wizard. Desktop Framework 1.1 and SDK 1.1 must be installed to allow for NETCF 1.0 projects. Removing NETCF V2 SDK would break V1 projects as well. ...Show All
