Residual Logic Games's Q&A profile
SQL Server Using Management Studio to manage .sdf file on device
Hi, I am trying to connect to a database on a Windows Mobile device using the Management Studio. I am able to select server type "SQl Server Mobile" and navigate to the file on the device. When I try to connect I recieve the following error. Should this work If so what must I do to allow the registry access Thanks, Ron Requested registry access is not allowed. (SQL Server Mobile Edition ADO.NET Data Provider) ------------------------------ Program Location: at Microsoft.SqlServerCe.Client.TdsParser.ThrowExceptionAndWarning() at Microsoft.SqlServerCe.Client.TdsParser.Connect(String host, SqlCeInternalConnection connHandler, Int32 timeout) at Microsoft.SqlServerCe.Client.SqlCeEngine.FileExists(String filenam ...Show All
Visual C# Toolbars for Windows Taskbar in C#
Hi all. Does anyone know how to make a Toolbar that would be located at Windows Taskbar (like language bar etc) Is there any tools for this in .NET, or do i have to take a deep dive in Win API I'd like to do a simple battery meter or something like that. I could of course use NotifyButtons, but a larger toolbar object would be cool looking. Thanks for any advice, AK I tried to look from codeproject but I had no idea that I had to look for "Desk Band". So thank you very much for info :) ...Show All
.NET Development Ping timeout < 500 ms
Hi, I have to connect to many machines defined in IP addresses ranges at startup. In these ranges, it is possible that some IP addresses does not exist or some machines are not started so I Ping (using System.Net.NetworkInformation.Ping) each IP address before trying to connect to it to prevent big Tcp timeout. It seems that, whatever timeout I specified < 500 ms, a Ping timeout is always at least 500 ms ! As I have to ping a lot of machines, I would like to specify a timeout of about 100 or 200 ms. To avoid too many threads, I send the ping sequentially in 1 dedicated thread. Thanks in advance, Droopy. Have you tried overloaded, Ping.Send() or Ping.Async() which takes second argument as TimeOut But i ...Show All
Visual Studio Team System automatic data generation based on user inputs
Dear All, I want to generate test data automatically. The process is as follows, 1. User will enter the fieldname and datatype and range in a form. (inputs will change) 2. We have to capture that details 3. Based on the defined fields, we have to generate test data 4. Put the test data into an excel sheet i am looking at getting an overview about the whole process from a design point of view and implementtion will follow. any insights will be appreciated. any resources/ links with reference to the above requirement are welcome. thanks, mkuppu Team Edition for Database Professionals provides a facility to allow you to automatically generate test data based on user configuration. I think this tool in many w ...Show All
SQL Server custom code in report
hi friends i wrote following custom code in report to hide/unhide a textbox in report Public Function CheckVisibility(ByVal value As String) As Boolean If value.tostring().length > 0 Return False Else Return True End if End Function but i dont see this function when type in "code." in expression box am using VS2005 standard edition, is it a restriction for this version Functionality is the same for custom code in local mode as it is in server mode (disregarding the different environments); it will just not show up in intellisense, since the designer does not parse the code. ...Show All
SharePoint Products and Technologies wss3.0 how to create first website with or without using templates
Hi All, I am new to sharepoint website development. Today i install windows sharepoint services3.0 on my system. I am facing some problem: 1. After that, i got a SharePoint Central Administration v3 website installed in IIS. Now i need to create a new website.For this, i go to the Application mangement tab in sharepoint central adminsitration site. I clicked create or extend new application.In this tab , i am filling every detail(like port,URL), but it is not respoding. Am i doing anything wrong.Do i need to create a website in advance for this. 2. I wish to use template to create sharepoint website.So do we get any templates installed by default when we install wss3.0. I couldn't trace one ,so i downloaded a ITDev ...Show All
.NET Development system menu doesn't display
Hi, In a certain application it's required that I can make use of the system menu. I mean the menu which usually pops up after a right mouse click on the top bar of a window and which lists options as: minimize, maximize, close etc. However on a certain form I don't get this system menu after right clicking on the top bar. Just nothing happens. I haven't made any click events or other events that could interfere. I also see no difference with other forms in which the menu DOES show show up after right clicking on the top bar. Any ideas They would be greatly appreciated!! Well thanks but that property is true. The system menu DOES show I now found out when left clicking with my mouse in the icon in the le ...Show All
SQL Server Advice???
hellooo I have an Accounting system(vb.net 2003, SQL server 2000), every new year data is cleared, but i may use some data from previous years (such as liabilities) whats the best way to that -Shall I create programmatically a new clone DB every year (new DB with same structure as previous year) OR -Shall I add a "year field" for tables in DB knowing that data will keep growing every year whats the best solution, knowing that i dont want the end user of my application to do anything manually, such as creating DB ...... Thank you Have a look at SQL-DMO. You find the SQLServer object which has a DetachDB and AttachDB method which you can use to detach a db, copy the f ...Show All
Smart Device Development Resource Manager Exception
I recently moved to visual studio 2005. I am developing a compact frame work 1.0 application. Unfortunately i cannot get resources to work. when my application is loading (attempting to get an image out of the resource file) i get an ArgumentException at RuntimeConstuctorInfo.Invoke. Designer Generated Code (fMain): System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fMain)); ... this.pbLogo.Image = ((System.Drawing.Image)(resources.GetObject("pbLogo.Image"))); Resource File fMain.resx <data name="pbLogo.Image" type="System.Drawing.Bitmap, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" mimetype="app ...Show All
.NET Development Number of Rows
Sorry for asking perhaps a silly question but the semantics of this property is so unclear that I am beginning to have doubts. I am talking about the Length property as highlighted below: DataRow[] rows = Globals.dtSets.Tables[indexTable].Select ( "date >= #" + DateTime.Now.AddMinutes ( -minutesToLookBack ) + "#" ); if ( rows.Length > 20 ) // <=== { ............. What is it exactly The number of rows If not, how can I get the number of rows unequivocally Thanks. Hi Alex What you have c ...Show All
Windows Live Developer Forums Altitude?
Hi, I've noticed in 3D view that the browser status bar displays the current Altitude at the cursor/map position. How can I retrieve this value programmatically Say...when the user clicks on the map. Can't seem to find anything in the docs or in forums... thanks for any help alan Hi, thanks for your replies The GetAltitude() method isn't the same thing. From what I can tell, it returns the altitude of the camera (the current height of the view position). I'm talking about the altitude of land above sea level. For example, if you go into 3D mode and run the cursor over sea, the altitude will be "0 feet". Run it towards a shore and it will increase. I need to retrieve that value. There isn't a p ...Show All
SQL Server Transactional Push Distribution Agent Slow
We have quite a lot of Transactional replication, and over the past few weeks it had become quite slow. I spent the last few days trying to resolve the problem and found that a Push subscription was delivering transactions at about 50/sec and a Pull subscription was delivering at around 700/sec. This test was run on the Same publication, same subscriber so hardware and links are all the same, the only difference was the type of subscription. I've since changed a few of our subscriptions for the larger publications and have found they run quicker than previously. Has anyone else seen this behavour and is there a valid reason why this would occur. The distributor and subscriber are both running SQL2005 SP1 and the publisher is SQL2000 ...Show All
SQL Server Class not registered error while using Stored procedure
Hi, I had registered a COM DLL (CogUdf32.dll) as Assembly under the Adventure Works DW. When i tried executing a method from it through MDX query: SELECT { FILTER ([Customer].[Customer]. AllMembers , CogUdf32.CogInStr([Customer].[Customer]. CurrentMember . Name ,"USA") > 0) } ON AXIS (0) FROM [Adventure Works]; I am getting following error: The following system error occurred: Class not registered . Any pointers are welcome. Thanks and Regards, Santosh. MY UDF's are written in .NET language. I am able to add them as COM DLL under Assemblies. But when i try to use the functions, i am getting these errors: MDX: SELECT { FILTER ([Measures].[Sales Amount], CogUdf32.CogIn ...Show All
SQL Server Database engine tunning advisor and triggers
Hi, I captured a trace using the profiler and provided the trace to the tunning advisor for analysis of the indexes. I am not convinced that it processes the triggers properly. I used the tunning template on the profiler and confirmed that the code from the triggers is captured. However, in the tunning advisor I am getting an error message like this: E000 INSERT INTO SP ( FkSID, FkRPID, FkSPStID, NPR ) SELECT SID, RPID, 0, NPR FROM INSERTED INNER JOIN RP ON INSERTED.FkCID = RP.FkCID WHERE 0 = INSERTED.IA 2 [Microsoft][SQL Native Client][SQL Server]Invalid object name 'INSERTED'. From the above it appears that the advisor does not recognise the "inserted" temp table used in an insert trigger. Is there anywa ...Show All
Community Chat Need a Web-Based File Manager
Does anyone know of a good web-based file manager It needs to act as an alternative to FTP. It should be able to create/modify/delete users through an administrator account. The administrator should be able to set rights on a folder to give certain users different levels of access (read/write). It will be used mostly for the admin to upload files and create a temporary account for the user to download from specified folders, but the possibility should exist for users to be able to upload files as well. I've looked at HTTP Commander , but it gives the administrator full access to the server. All of the activity of this software needs to be contained to one main folder of the server. I've looked at Quasars Storage , but couldn't even get it ...Show All
