buzzbuba's Q&A profile
Visual Studio reporting services report viewer control
I have a form with a report viewer control. Everything works as expected except for when you click the print button in the report veiwer. The print dialog comes up, but then you have to click the print button twice, or click on the dialog somewhere and back on the button in order to print. It's like the dialog doesn't have the focus when it initially opens. When it does open title bar looks the same as any other window with the focus. Anyone else notice this behavior I should add I am using SQL Server 2005 and VS Pro 2005 I have found the following thread regarding this problem. I will have to read all of them to find out if there is a solution. http://forums. ...Show All
Visual Studio Team System WorkItem in Web
Hi, I want to know if the Product Team of Visual Studio Team System are planning to include the creation of WorkItems across the Web Hello Roberto, Yes we are considering a web client for Team Foundation Server. If needed for immediate use you can take a look at http://www.devbiz.com/teamplain/ Regards, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Sprite Blitting question - Wondering if this is still a problem
Hi all, When Beta 1 was out I dove right in and started working on a simple demo that moved a sprite with some alpha transparancy around the screen. The way I had it set up was something like this: -I had a class set up for the sprite that I called Player -The Player had a Vector2 for his screen position. -If the user was pushing the left thumbstick in any direction, the Player class's move function was called ,where a new X and Y location was made based on the angle that the thumbstick was pointing. -When Drawing the sprite, I'd get the sprite's screen position vector via a get property. Doing it this way often made my screen position vector have decimal values for the X and Y screen position of my Player sprite. This caused some funky is ...Show All
SQL Server Package runs fine in Debug.. fails outside of debug
I created a package that runs fine while in debug... but when I run outside of debug (just choosing Debug.. Start without debugging) I get an error of: Message: The task "Formulate SQL Query and Destination" cannot run on this edition of Integration Services. It requires a higher level edition. I am on SP1 on my workstation and the only SSIS server I have. I am not doing anything fancy in my script.. I have created other packages and ran outside of debug mode without issue. I did uninstall SQL2005 and SSIS from my workstation as it was eating up too many resources. The script I am running is (removed some of the SQL etc to shorten it): Imports System Imports System.Data ...Show All
SharePoint Products and Technologies Hide domain name for users
Hello all, I have set up a sharepoint 2007 site with multiple users, however each username is displaying as domain\username when assigning tasks, events, and general operations. How do I remove (or hide) the domain so only the username displays Thanks! ...Show All
Windows Live Developer Forums What happened to the robot gallery???
Where did all of our entries go I wondered why I only was getting 10 hits a day. https://www.robotinvaders.com/main/Gallery.aspx Strange, I hope they let us know soon. What's weird is that the rules state that we are suppose to host our bots to November 15. Without the gallery though new people will not even know they exist. :) Thanks for your post. ...Show All
Visual C++ How To GetType()
I have a compare method that I wqant to check if the passed objects are strings or integers so that I can sort them appropriately (sorting integers as strings ends up with numbers in the wrong place, eg. 17, 1, 4, 7). virtual int Compare( Object^ x, Object^ y ) { //some columns contain strings and others integers //check if the passed objects are strings if( x->GetType() == WHAT SHOULD GO HERE ) return (-1 + 2 * ascending) * String::Compare( (dynamic_cast<ListViewItem^>(x))->SubItems[ col ]->Text, (dynamic_cast<ListViewItem^>(y))->SubItems[ col ]->Text ); //otherwise compare integer values return (-1 + 2 * ascending) * (dynamic_cast<Int32^>((dynamic_cast<ListViewItem^>(x))-> ...Show All
SQL Server I need a procedure for mi DB
HI, i need i procedure for my DB that runs all the time and tell me if is someone connected to my DB or not. In the case that someone is connect the procedure has to execute procedure1, and if no one is connected the procedure has to execute other stored proc. Can anyone help me with this Regards. I like the idea of the job. It should work of the following way: - When NO ONE is logedon on the data base it should execute one procedure one time only. - When SOME ONE is Loged ON it shoud execute other pocedure onte time only. The JOB will need to run all the time and execute a procedure if someone is loged on, or if no one is loged into the DB. Can you give me a hand with this Regards. ...Show All
SQL Server Unwanted conversion of non latin ASCII characters
hi we get ASCII data inserted into a SQL Server database by ODBC connection from an old UNIX system. Example: INSERT INTO test.db VALUES ('123abc', '456 ') All characters > 128 are converted to " " automatically. We tried to setup the database to the appropriate codepage, but we allways get " " inserted. We tested all datatypes without success. The problem is, that the UNIX-system sends ASCII-characters (no UNICODE) eg. "77 00". Sending "77 04" (UNICODE, codepage 1251) with a Windows program is successful. Where ist the screw ...Show All
Visual Studio Team System Performance Problem #2
We've got a project with 3200 objects. The project contains about 10 errors. When we attempt to double-click on one of the errors to bring up the file, Visual Studio will hang for anywhere between 3 and 10 minutes. The Task Manager shows 'devenv.exe' consuming about 90% of CPU resources for this entire time. We're using the RTM version of DBPro. Amos. Gert, You asked me if I tried these operations while not under source control. I now have. Just to reiterate, we have the following major performance problem areas in our 3200 object project which is under TFS source control: Opening the project, after the first time, can take anywhere between 3 and 20 minutes. This varies widely per developer ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Which one does DX copy: strings or ptrs
Many-many times DirectX takes pointers to strings, LPCSTRs. When a function call takes such a parameter, does it make a copy of the string itself (meaning that I can clean up the string pointed to by my pointer), or does the funtion only copy the pointer, meaning that I must keep the string alive as long as the COM-interface is not released Sometimes it is no question, for example, I'm sure I can clean up my string right after calling D3DX10CompileShaderFromFile, but what about for example ID3D10Device::CreateInputLayout, which takes an array of D3D10_INPUT_ELEMENT_DESCs, each element containing an LPCSTR. DirectX will sure need the input semantics (the strings) later on, so do I have to keep them Thx, Karoly ...Show All
Game Technologies: DirectX, XNA, XACT, etc. VertexPositionTexture Problem xna beta 1
Hello guys!! I'm trying to texture a simple face of a box composed by 2 triangles! I'm using the documentation example "How to: Apply texture to 3D primitives" the code... effect.fx uniform extern float4x4 WorldViewProj : WORLDVIEWPROJECTION; uniform extern texture UserTexture; struct VS_OUTPUT { float4 position : POSITION; float4 textureCoordinate : TEXCOORD0; }; sampler textureSampler = sampler_state { Texture = <UserTexture>; mipfilter = LINEAR; }; VS_OUTPUT Transform( float4 Position : POSITION, float4 TextureCoordinate : TEXCOORD0 ) { VS_OUTPUT Out = (VS_OUTPUT)0; Out.position = mul(Position, WorldViewProj); Out.textureCoordinate = TextureCoordinate; ...Show All
Visual Basic VB.NET console application doesn't want to work as a scheduled task??!!
Hi all experts, I'm experencing a very strange error. I created a windows console application to check all the process on server and if there is one or more process doesn't work, the application sends out an email. I deployed the application on the server and when I run it by double click the .exe, it works fine. If I add it as a scheduled task, it never gets the list of process correctly. Could anybody help me out Below is the code piece of get process list. ' GetProcesses For Each proc As Process In Process.GetProcesses() Try If proc.MainWindowTitle.Length > 0 Then Console.WriteLine(proc.MainWindowTitle.ToUpper().Trim()) procs.Add(proc.MainWindowTitle.ToUpper().Trim(), pro ...Show All
.NET Development Launching a web browser with URL in a string
Hello! I'm using .Net 2.0. I'm launching the default web browser with the following code: System.Diagnostics.Process.Start(url_string). Url_string is a string variable that contains the URL I want to open in the browser (e.g. "http://www.searchexample.com=q&e=aakkonen&esim"). The problem is that if the string contains scandinavian characters (a, o, a) or the characters &, ", #, they will be converted to some kind of HTML code. For example %E4 stands for letter "a". How to open the web browser without changing the string at all Search engine works fine if I go manually to that page and type into the search field "aiti". But if I use my application to launch the search, i ...Show All
Visual C++ SP1 dlls on non-SP1 machine (public deployment)
Hi I have unmanaged dll that I created using VS 2005. This dll is used by some managed C# code. Prior to installing SP1, when building the dll in VS, it was creating manifest that was referencing name='Microsoft.VC80.CRT' version='8.0.50608.0'. After installing SP1 it started to create manifest that is referencing name="Microsoft.VC80.CRT" version="8.0.50727.762". This behavior causes breaking change for me, meaning that if I don't change anything in my code, I won't be able to run my dll on the machine that doesn't have SP1 installed. My client machines have only .NET 2.0 installed. I personally think that it would make sense to keep old behavior and this way right version is used on both SP1 and non SP1 machines. ...Show All
