Ovidiu Burlacu's Q&A profile
SQL Server finding report wizard in sql
I need to create graphs in access in a lick of a button all the data will be in the sql transfered from the access. If anybody did this before ar having Idea please let me know I was talking about the Report Wizard in Microsoft Access. SQL Server does not have a report wizard. For SQL Server, you want to investigate installing SQL Server Reporting Services, it will let you create very nice reports inside Visual Studio against SQL Server. ...Show All
Visual Studio Tools for Office How to install Office 2007 + VSTO2 + VSTO SE
Hi, I would like to develop solutions for Office 2007. And I want develop document based and application based task panes. How can I install my developer machine that I can use both I installed Office 2007, then Visual Studio Team System 2005. Then I get already some problems during PIA Installation. When I want install Visual Studio for VSTO, it says, that I have no Office 2003 SP1. Of course. the docu says, that I should not install Office 2003 and 2007. So what is the way to install VSTO 2 for Office 2007 Develop document centric solutions for Office 2007 I had success some weeks ago but I'm not sure what I did. May be I upgraded Office 2003->2007 and then Seup works. Any Ideas or hints Marcel ...Show All
Visual C++ How to restrict a user from 'Deleting' a file by pressing DELETE key on Keyboard..???
Hi, Here, I want to restrict a user from Deleting a file Manually (i.e, 1. By pressing DELETE Key on keyboard 2. Right-Click on file and selecting Delete. ) In MS-Word 2003, If a file is Opened, and we are trying to Delete it, it gives an error message like, " The file abc.doc cannot be delete : The file abc.doc is in use by following program Microsoft word . The file must be closed before delete." I want exact functionality as above. Could any one help me. HANDLE hFile = ::CreateFile(L "1.txt" , GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); cin.get(); It works, while you do not press ENTER in console no one can de ...Show All
SQL Server Smart Client - Data Centric - SQL 2K to SSE local
Trying to develop a smart client which will have data centric approach for storage of local data. The server is SQL Server 2000 and foot print database is going to SQL Server Express 2005. Is Merge replication a vaiable option. Can somebody guide me on this approach Is there any other architecture proposed for Smart client arcjitecture where the data tranfer will be in a couple of GBs. Can somebody tell me more about SOA as well Thanks! Thank you Sascha Can we use an intermediate server in this case such as SQL Server 2005 and use it as a distributor Please advice. Also, If I use a SQL modile edition can it support data up to 4 GB Regards Harish ...Show All
.NET Development Problems loading executables on Media Center 2005
Hi, I'm running Media Center 2005, and when I try to run certain exes, I get a common language runtime error, preventing me from loading them. This is getting extremely frustrating. The errors are: ehshell.exe Process id=0xb10 (2832), Thread id-0xb20 (2848) WinSSUI.exe Process id=0xf30 (3888), Thread id=0xa18 (2584) SL4F.tmp Process id=0xdac (3500), Thread id=0xd48 (3400) Can anyone please help me with this It means I can't even run the Media Center software - that's the whole point of having Media Center! I've tried reinstalling Media Center, and tried reinstalling .net framework 2.0. I can't get .net framework 1.1 sp1 (or whatever it is) to install (the last one on the above list). Please help me! ...Show All
Visual Studio Cannot Open .sln (Solution File)
I installed Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200). Other information: Microsoft .NET Framework Version 2.0.50727 Installed into: Windows Server 2003, Standard Edition, Service Pack 1 Steps to duplicate the error: 1. Click Start\All Programs\Microsoft Visual Studio 2005\Microsoft Visual Studio 2005 2. Click File\Open\Project/Solution 3. At the Open Project dialogue box, navigate to the location of *.sln file, select *.sln file, click open. I get this error: The application for project 'C:\vbnet03sbs\chap01\MusicTrivia\MusicTrivia.vbproj' is not installed. Make sure the application for the project type (.vbproj) is installed. ------------------------------------------------------------ ...Show All
Visual Studio 2008 (Pre-release) Itemname on simple Arrays.
Hi, I'm using the DatacontractSerializer, and my data contains a simple array of type A[]. I would like to format the names within this array - but it seems only to be possible if I implement IEnumerable Any thoughts Hi, thats just the problem DataContractAttribute only works on collections which implements IEnumerable. for instance... [DataContract()] public Class A{ B[] myitems } Will end up looking like: <myitems> <B/> <B/> .... </myitems> But I want to change "B"s name. ...Show All
Visual C++ 'type cast' : cannot convert from 'System::IntPtr' to 'PDEV_BROADCAST_HDR'
Statement void ProcMsg::getMessage(Message *m, Boolean Inserted) { PDEV_BROADCAST_HDR lpdb = (PDEV_BROADCAST_HDR)m->LParam; } above statement was came out with error 'type cast' : cannot convert from 'System::IntPtr' to 'PDEV_BROADCAST_HDR' Question: May i know how to cast the structure PDEV_BROADCAST_HDR to System::IntPtr. Information provided is not enough to answer this question. Could you tells us if this application is a mixed mode (being compiled with /Clr). How have you defined Message class\struct. In Message have you deined LParam as IntPtr or LPARAM If you are using mix mode application i.e (compiling with /Clr) and LParam is defined as IntPtr you should use System::Runtime::InteropServ ...Show All
Visual Basic BeginInvoke Hang...
I just finished fixing one Threading problem only to smack right into another. Hehehe As usual, worked in VS2003, but in VS2005 I have an issue. I am trying to call a method on a new thread using BeginInvoke, but when the compiler executes the BeginInvoke() method, the system inexplicably hangs...I am totally baffled. Here is the code: I decided to remove all my subroutines that elated to this BeginInvoke and I wrapped them up into a self contained class, and I let the class iteself handle the multi-threading. Everything works now, still not sure what was wrong since the code is relatively the same, but I am not going to complain. ...Show All
SQL Server Filtering on padded or non-padded varcvhar makes no difference
You use SQL Server for years then one day something comes along and you wonder if you really know anything at all. I have the following two queries that both return the same row of data: select * from Element where ElementName = '192538' and select * from Element where ElementName = '192538 ' --ElementName is a VARCHAR(50) --Note the spaces on the end of the literal here If I do a LEN ( ElementName ) on this row it returns 6. Can anyone explain this I'm utterly baffled - as are other people on my project. I validated with them that I wasn't missing something really stupid. Thanks in advance. -Jamie SQL Server follows ANSI SQL standards for string comparisons. According t ...Show All
Visual Basic Run-time error '53' : File not found
Hello. I don't know if this is the right place to post this error but I really need help. When I run some games programmed with Visual Basic, I get the following error: Run-time error '53': File not found I am running Windows ME (I wonder if that can help). If anyone could help me, I would be really grateful. Thanks. Regards, PedroMCN If the error actually specifies the file, you can try looking for it on your instalation media. Otherwise, I'd try reinstalling the game, it sounds like something failed on setup. ...Show All
.NET Development 401: Authorization Required
Hello Forum, Here is something I have been struggling for very long now. I have got a Windows Application which talks to a HTTPS web service. When I run my Windows application in Debug mode, it gives me an error "The request failed with HTTP status 401: Authorization Required." Further details include it being something like a WebException.ProtocolError. But, the code works fine as a compiled EXE. Also, if I create a package for this application and then deploy the machine on a machine other than the development machine, it gives an error saying "The underlying connection was closed: An unexpected error occurred on a send." ######################################################################## ...Show All
SQL Server Transactional Replication Problem
I have set up a Portal database replication (central subscriber topology) In essence, the replication architecture implemented is 4 (Server 1 - 4) servers replicating to one server (Server A). The 4 SQL servers are setup to be Publishers and Distributors and Server A is setup as a Subscriber. The replication type implemented I used is Transactional replication with replication to update the data at Server A as soon as a change in the data has occured on one of the Servers (1 -4). As Publishers, the servers (Servers 1- 4)will organise their data into publications and make the data available for replication to the Server A. They automatically detect which data has changed and maintain information about the changes. As Distributors, the serve ...Show All
.NET Development Error using tcpclient/tcplistener
I'm trying to run a sample tcpclient/ tcpListener program written in VB.NET on VS 2003 (.net framework 1.1). When I run this console program, I get 2 errors - 1) The requested address is not valid in its context - at System.Net.Sockets.Socket.Bind(EndPoint localEP) 2) System.InvalidOperationException : Not listening. Please call the Start() method - at System.Net.Sockets.TcpListener.AcceptTcpClient() The code as follows: TCPListener - Imports System.Net.Sockets Imports System.Text Class TCPSrv Shared Sub Main() Console.ReadLine() Const portNumber As Integer = 1526 Dim addrIP As System.Net.IPAddress = System.Net.IPAddress.Parse("170.186.144.132") Dim tcpListener As TcpL ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Input degrees and coordinate problems
Hi, I'm a newbie with XNA. I'm about to develop a simple game. I have a spaceship model and a sphere model. I tried to detect if the ships reaches the sphere but even when the ship is "inside" the sphere, the coordinates of the models are very different so the collision will never be detected. How can it be that in the Draw method after setting the World matrix, the models get total different coordinates as if they were using different coordinate systems I thought that translating is moving objects away from the origo (0,0,0). These objects are moved to other locations in the world of course but when they are clearly visible in the same place, how can they have different coordiantes The other problem: I control the ship with the keyboard. ...Show All
