jelo's Q&A profile
Visual Studio Problem printing labels using Crystal Reports
I've written a C# app printing Mail labels, 4 across, 8 down. The problem I'm having is Crystal Reports adds a header and footer at the top and bottom of each page, dropping the first line at the top and the last line at the bottom from my labels. Any idea how I can override this build in Crystal report setting to automatically reserve space for a header and footer. Help will be much appreciated. Newbie ...Show All
Visual Studio Using VS code editor for unsupported languages
Hi, I couldn't really find an answer to this question, so hopefully someone can help me here. I'm a computer engineering student working with multiple languages and I would like a general-purpose editor for all the languages I might be using (VHDL, MIPS assembly, C++, VB, and Scheme at present). I use VS since most of my coding is done in C++ and VB but I like the interface, so I'm wondering if there's a way to write definitions for the other languages so that the code editor can color-code the syntax. Thanks for the help! --Chris The Visual Studio editor is extensible allowing you to create your own ...Show All
Visual Studio Express Editions cant install
i followed instructions i tried a lot doesn't go: it crashes, i've send report. can't do anything. ... PLEASE, Re-Send, to cincy2hot4u@hotmail.com , I use this Service Daily! OR Used to! ...Show All
SQL Server Copy member data to another member
Hi, I need to copy all data from one member to another member from the same dimension. To be more specific, I have a scenario dimension with these members: ->Budget ->Forecast And I want to start my Forecast with the Budget data from last year * 1.05. Because I will change the values from forecast I can't just put a formula (forecast = budget *1.05, if I do that the cube will always show the formula values and not some new values that I want to enter). Is there a easy way to do that Any tip will be great. Thanks, Handerson You should be able to achieve what you are trying to do using SCOPE and FREEZE in the cube MDX script. There ...Show All
Visual Studio Unspecified error when doing Get Latest Version
When I do Get Latest Version from within Visual Studio on a complete solution or project I get the following error: Unexpected error encountered. Error: Unspecified error. File: vsee\lib\path\cvapipath.cpp Line number: 2459 When I do Get Latest Version on an individual source file, it works correctly. When I do Get Latest Version on a project from within the VSS client, it also works correctly. I got the following setup: Visual Studio 2005 Team Edition for Developers. Visual Sourcesafe 2005 C# solution containing services, web services and libraries. Patrick Patrick, After following the instruct ...Show All
Visual C# End
Hello, What is in C# the statment for end, like the end statment in VB DIII AFAIK, you mean this: sub mysub blah blah end sub That syntax does not exist in c#, instead scope is defined by curly braces void mysub { blah blah } ...Show All
SQL Server SSRS taking forever to load a simple select
I did a simple select below on a DB table that has a total of around 650,000 records. If I run this select in Query Analyzer, it takes around 11 seconds and returns 19,000 records. In my SSRS report, I've created a dataset that runs this query, the same one I ran in Query Analyzer that took only 11 seconds: select * from master where customer = '0000002' After putting this select in a dataset, I then grabbed one of the fields and threw it into a table's Detail row. It took forever, about 10 minutes! granted the user who tried this is using a very inefficient Select * , but even so, it ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX9. Problem with Surface.Lock
Hi. Language C# .Net. I'm trying to access Microsoft.DirectX.DirectDraw.Surface memory calling Lock : byte[,] hh = primary.Lock(LockFlags.Wait); primary is 32bit!!! 1024x768 Surface. Lock returns - {Dimensions:[1024, 768]} byte[,] array. So where are my A8R8G8B8 pixels How can I access and change them Note: sorry, I didn't see you were using DirectDraw, so this post might not be helpful for you. I'll leave it here for future reference though. First of all, what version of Managed DirectX are you using The April 2006 Managed DirectX 1.1 release doesn't expose a Lock() method o ...Show All
Visual Basic I get a blank row returned into my data table in SQL
Hi, I'm inserting data via a Wizard Control into my Table. It inserts a row but does not insert the data into the row. The row does generate the auto ID number in the ID column which is my Primary Key. Here is my code: Protected Sub Wizard1_FinishButtonClick( ByVal sender As Object , ByVal e As System.Web.UI.WebControls.WizardNavigationEventArgs) Handles Wizard1.FinishButtonClick Dim customersDataTable As SqlDataSource = SqlDataSource1 Dim customersRow As SqlDataSource = SqlDataSource1 ' Insert code here to add data to the row. Pais.Text = ( "Pais" ) Ciudad.Text = ( "Ciudad" ) NombreEmp.Text = ...Show All
Visual Studio VS2005 RC1 Package Load Failures
After getting back from the PDC I commenced to installing VS2005 RC1. I thought I finally had everything installed yesterday. Today I tried to start the IDE and that's when things went downhill fast. I started seeing a bunch of "Package Load Failure" error messages. I was able to run Beta 2 without problems. After searching for prior posts I found blogs by Hong Gao and Aaron Stebner. Aaron's blog talks about having multiple copies of file versions starting with 2.0 and 8.0 in the GAC. I'm not finding multiple versions. Most of the files installed have a version similar to 8.0.50727. I also hav ...Show All
.NET Development Asyncronous Sockets support TCP Message Boundary?
In The Name of God hello as u know tcp doesn't protect message boundries it means messages might be mixed into each other. in addition to that in TCP it's possible that a message would be delivered in diffrent times. so you must use a while loop to get the complete message. like this: int size_Total = 0; int size_Dataleft = 4; int size_Received = 0; byte[] size_Container = new byte[4]; while( size_Total < 4 ) { size_Received = sck_Socket.Receive(size_Container, size_Total, size_Dataleft, 0); if( size_Received == 0 ) return "Exi ...Show All
.NET Development XML File vs XML string
Hi All, I have a simple Windows form that implement the Web Browser component. This form is used to simple display data from a XML file using a style sheet (from a XSL file). Basically, this has been accomplished by the following simple two lines of code (thanks to Microsoft ) protected internal AxSHDocVw.AxWebBrowser axWebBrowser1; axWebBrowser1.Navigate("C:\xxx\MyData.XML"); My problem now is that, instead of having the MyData.XML from a file, I got the XML from the database via a stored procedure that return me the XML formatted string. The old way: I got the xml file and the xsl file. The new way: I got th ...Show All
Visual Studio Document Explorer Crash Bucket 232224388
Attempting to use search tab in help for Visual Basic 2005 I get the "Microsoft Document Explorer has encountered a problem and needs to close" error. Information from event log: Event Type: Information Event Source: Microsoft Document Explorer Event Category: None Event ID: 1001 Date: 4/23/2006 Time: 5:11:52 PM User: N/A Computer: AMDTOWER Description: Bucket 232224388, bucket table 1, faulting application dexplore.exe, version 8.0.50727.42, stamp 4333d0b3, faulting module kernel32.dll, version 5.1.2600.2180, stamp 411096b4, debug 0, fault address 0x0001eb33. For more information, see Help and Support Center at http: ...Show All
.NET Development Remoting basic question
Hi All, I am new to .NET Remoting and have a very basic question regarding it- While creating a remoting application, both the remoting client and the remoting server needs a reference to the remote object library( the dll that contains the remotable object). I don't understand why the client need to have a reference to the remote object library Adding a refernce to the remote object library from the client will copy the remote object dll into the client application bin directory and then onwards we can call the methods on the remote object locally (from within the client application) without using remoting. This confuses me why remoti ...Show All
Windows Forms How to use DDBLTFX?
I'm tryingto use DDBLTFX in visual basic 6 with DirectX 7 to rotate a picture clockwise and I don't know how I should use it. It says to give position, surface, flags, and another thing but I don't know which flags should I use and the rest of the syntax. Please Help quite righly so.... eemmm no wonder i never heard of it B ...Show All
