Cataa's Q&A profile
Visual Studio Express Editions visual web developer will not create databases
When I try to create a database using visual web developer I get the following error "Connections to SQL Server files (*.mdf) reqire SQL Server Express 2005 to function properly. Please verigy the installation of the component or download from the URL: http://go.microsoft.com/fwlink/ LinkID=49251" I have installed SQL Server 2005 express If I create the database using SQL Server Management Studio express I can then connect from Visual Web Developer and add tables etc. Its just initialy creating the database that causes the problem. I also had nightmarish problems with the aspnetdb required for Logins. I had to create this using the aspnet_regsql.exe utility and modify my web.config to make the ASP.NET configuration utilt ...Show All
Visual Studio TextEditor: How to Regain Edit Position upon window reactivate
Is there a way to ensure that when the window regains focus the previous cursor position is regained instead of the cursor position changing to where clicked I only want the position to change if the window already has focus (is active). Example: Cursor is at EOL on line 6. I click into some tool window and no longer see a cursor position in the text edit window. Bad already. But even worse is: When I click back into the text editor window - line 15 then my cursor is there at line 15. It should go back to line 6 where I left off. THEN if I click again on line 15 it should go there. -Marc- That is what I am asking for help to do. When the TextEditor looses ActiveWindow ...Show All
Visual FoxPro CursorAdapters and UDF in FoxPro 9
Hi, I like to know if is possible to create a Cursoradapter (ADO) with a select CMD using a function. For example if I have a function concat(par1,par2) that returns par1+par2. I like to use as select command something like select concat(lastname,firstname) as name from personal Thanks Ivan It all depends on the provider. If function is a VFP function (either built-in or UDF, SP etc) then VFPOLEDB provider would understand it. Otherwise another provider wouldn't know what that concat() is. IOW if you're using say SQL server provider then you should pass anything in MSSQL's language (T-SQL). ...Show All
Visual Basic Unicode data in Jet 3.0 DB
Hi All, I'm trying to extract some values form a Jet 3.0(maybe lower) DB created by a tool called Microsoft LocStudio. It has a .edb file extension. The columns I'm trying to pull seems to have characters encoded in Unicode, they don't show up property in Server Explorer. Using oledatareader I'm still able to read them as strings but they're truncated(probably because of the null byte), I've also tried to use Encoding.GetBytes(), it seems to work as long as the characters are in ascii, but once it hits foreign characters some chars does not display properly. Has anyone worked with this kind of file before or does anyone know a way to access the fields as raw bytes(i.e without any conversion from the engine, DataReader.GetByte() didn't w ...Show All
Visual C++ Lesser evil in linking?
Hi, I have a native C/C++-program I should compile and link in VS2005. However, the program uses a dll that has been compiled in VS2003 and uses mfc71. So I'll have to include mfc71, which brings to my question, which is the lesser evil 1) Compiling and linking the program with VS2005, with crt8 and mfc71. 2) Compiling and linking the program with VS2005, but with crt71 and mfc71. 1) Works as far as I've tested, but Edit & Continue has this comment: c:\program files\microsoft visual studio 8\vc\include\crtdefs.h(1724) : warning C4656: 'threadlocaleinfostruct' : data type is new or has changed since the latest build, or is defined differently elsewhere 2) Seems to work, if I disable the C++ exceptions, otherwise there are linking erro ...Show All
Windows Forms How to Disable Auto-Repair?
I want to delete this thread. ...Show All
SQL Server Logging difference between Designer and SQL Agent package executions
After fine-tuning my package logging, I built a query against SYSDTSLOG9 that uses the combination of the OnPreExecute events and any subsequent event for each task to build a nice view of a package in progress, including the duration of each event. (Running tasks would have a row with a NULL EndTime.) When running the package within the Designer, everything works as expected. Events are logged at the task level and everything bubbles-up to the package level. However, when I run the package from SQL Agent (using the SSIS job step), none of my OnPreExecute or sub-component events are written. That is, I only get package-level OnInformation, OnPostExecute and OnError events. This means when the job/package is executing, I can't directly see ...Show All
Visual Studio 2008 (Pre-release) Calling a WCF Service from a cluster machine which is part of NLB ...
I have an application that hosts 2 services, service1 and service2 that is hosted in 2 machines that are part of a NLB cluster that does load balancing through muticast. If i access the services from a remote machine using the cluster IP address, it is load balanced properly. But i have a strange requirement where one of the service (Service1) needs to create instances of the other service(Service2) and want that to be load balanced. So in Service1, i created a proxy for Service2 (using svcutil) and create the Service2Client object using the cluster address as the endpoint address. In this case, even though i access the second service always using the IP address of the cluster, it is not load balanced. It always hits the same machine from ...Show All
Windows Forms Load Data Set
When I try to load a dataset I get 0 rows loaded and no error messages. It should be returning 2 rows. Can you see what I am doing wrong This is how I call it: Dim tblDates = dsStaffHoursWorked.tblDates mTableFill.subTblDatesFill(tblDates, dfEndDate, dlEndDate) ---------This is sub procedure that is called. Public Sub subTblDatesFill( ByVal tblDates As System.Data.DataTable, ByVal FirstEndDate As Date , _ ByVal EndDate As Date ) Try Dim Conn = "csStaffHoursWorked" Dim strSQL = "select distinct enddate from dbo.tblStaffHours where EndDate between '" + _ FirstEndDate + "' and '" + EndDate + "' order by enddate asc" Dim da As New S ...Show All
SharePoint Products and Technologies Error running Sharepoint 3.0 configuration wizard - Please help!!
I am having trouble with sharepoint configuration. It keeps bombing out with a filenNotFound error. Here is the error from the log: 02/08/2007 09:08:14 9 ERR Task services has failed with an unknown exception 02/08/2007 09:08:14 9 ERR Exception: System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002) at Microsoft.SharePoint.Search.Administration.MSSITLB.IGatherApplication2.BackupRegistry(Boolean fBackupNow) at Microsoft.SharePoint.Search.Administration.GathererApplication.Provision() at Microsoft.SharePoint.Search.Administration.SPSearchServiceInstance.Synchronize(Boolean installGathererApplication) at Microsoft.SharePoint.Search.A ...Show All
.NET Development oracle guids little endian, big endian problem
hello every one, I am having an strange issue. I am developing a .net app against an Oracle DB. Well, when I insert a guid into a raw oracle changes the order of the byte array. In VB.net I see (with all the representations of guids, with or without {,- or whatever): ac6d5c4f-542e-4fc8-b8b6-f53821811be3 In Oracle I see (tested with toad and sql tools): 4F5C6DAC2E54C84FB8B6F53821811BE3 It goes ok with the rightests numbers but fails the the leftests. Any suggestion I see with SQL Server that order of bytes is different with binary representation of guid as well: create table guidtest ( f1 uniqueidentifier ) insert into guidtest ( f1 ) values ( 'aabbccdd-1122-3344-5566-77889900ee ...Show All
SQL Server .Net CF 2.0 Error , "Can't find PInvoke DLL 'dbnetlib.dll'."
Hi All, I'm developing Pocket Pc application, In that i have set of statement, which establishes connection with sql Server 2000 Database. When ever I try to open SqlConnection, I’m getting error "Can't find PInvoke DLL 'dbnetlib.dll'.". Right now i am working in .Net Compact Framework 2.0 , But previously i worked in .Net CF 1.1 i didn’t face problem while doing that. Can any one help me to solve this issue My code exactly look like : Private SqlCmd As New SqlCommand Private SqlTrans As SqlTransaction Private SqlConn As SqlClient.SqlConnection Private SqlCmdBuilder As SqlCommandBuilder Private SqlDataAdapter As SqlDataAdapter Public Function Select_DocumentTempl ...Show All
Visual Basic Accessing registry using VB2005
Hi, I want to search for the installed software via registry. I don't know what should be exact path where i can locate the installed software in registry or what will be the keys which will help me to search all the installed software on the specific system. Please help me out. thanks. That really helped but made me confuse as well. I want to extract Software Name Software Manufacturer and both "userdata" and "uninstall" don't have a specific pattern from where i can extract it. instead HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppPath gives good info. What you suggest My requirment is to get SoftwareName, SoftwareManufacturer as well. ...Show All
Visual Studio Express Editions How do I print a form???
-Visual Basic Express 2005- To print a form in the older version 6.0 the line of code was something like form.PrintForm to print that form. I need to know the simplest way to print a form with Express. I figured it would be simple but maybe I'm missing something because I really need help... Please :) Wow ahmedilyas I will try all these when I get back home. Thank you very much for helping me :-) I saw a new message after this and it looks like there is actually a new tool for the toolbox that helps with this significantly. I will look into that as well. :) ...Show All
Windows Search Technologies Windows Search Service error
EventID:3083 Category: Gatherer Description: The protocol handler Search.Mapi2Handler.1 cannot be loaded. Error description: Class not registered Search continues to work yet there errors keep appearing in the Application Event Log. Any clue on how to get rid of them. Running on Windows Standard x64 Server 2003, with terminal services in application mode. Great explanation but this is causing a problem with installing a patch to BF2142 1.25. Everytime I run the installation it bombs and post this error in the event log. Any suggestions ...Show All
