Gonzales234's Q&A profile
SQL Server Exactly HOW would one go about creating a constant for a report?
Do you create it in the code section of the report Properties IF so, how If you don't do it there where do you do it I have an image in the page header, but I don't want it to repeat after the first page. And there are two images actually, and the one that is chosen for display is based upon a company id. How do you control that i have a question for you before answering your question. i did have the same situation... what is the image source..., whether it is from database, embedded or url ..... since you cannot access dataset in page header, i do not how you are managing to display the image based upon on company id. what i have done is i have a subreport. in that subreport i am g ...Show All
Visual Basic Visual Studio 2005 SP1
Hi all I just want to know if SP1 for VS2005 release date will be in the ending of 3rd Quarter ! anyone knows ! thsk JSB I think you would probably be more likely to see it in 4th quarter - before the end of the year. I dont think its scheduled to be released before end of the month. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Whats the best way to gain revenue?
As far as what it costs to make a good game, such as computer upgrades, and possible a more advances SDK, like TorqueX(when it gets a price), and Creators Club Membership, is there a good way to get money for the actual development of a game I know that getting a job is an obvious one, and I plan on doing that, but is there other ways to get a few more dollars for developing a good game that I can sell Thanks for any help you can give me Sorry to be the bad guy, but please try to keep your questions here in scope of XNA Game Studio Express, or if you have something more "Off Topic" please mark it as a comment type post instead of a question as there is no definitive answer to the best way to do this. Thanks! ...Show All
Visual Studio Express Editions How can I detect a Row Change event in DataGridView?
Visual Basic 2005 Express: When entering data into an SQL table DataGridView, is there any way to detect the event where the user clicks on the next row to add another record without clicking UPDATE for the row that he finished adding data to When adding customers to the table, when UPDATE is clicked the program assigns the customer number (First customer is "000001". Next customer is "000002", etc. CustomerNbr = Me .CustomerBindingSource.Count CustomerNbr = CustomerNbr.PadLeft(6, "0" ) But, if the user just clicks on the next row and adds another customer without first updating the last customer, the customer number does not get entered into the table. If I could detect the Row Change event, I c ...Show All
Visual Basic Scroll Bar
Hello Everbody this is the first question to me here and i hope i will get an answer for that i am a new comer to Visual basic and i have the visual studio 2005 and my question is: if i have a notpad file (text file) and i waana creat a scroll bar (like the one we see on CNN moving from left to right or even from right to left) and i need to load the contents from that text file how can i achieve that. thanks a lot for your help Hi, do you want to display the contents of the file in a text box If, so, put a TextBox control on the form, set it's MultiLine property to True and ScrollBars to Both. Optionaly, set the WordWrap property to False. To load a text file in the text box, use: Dim filename ...Show All
Audio and Video Development Welcome to the Media Foundation Development Forum!
Media Foundation is the next generation multimedia platform that we are shipping with Vista. We have built this platform from the ground up to embrace the wave of next generation premium content. Our focus has been on robustness, audio video quality, and seamless interoperability thereby making the Vista PC a great platform for all your audio video experiences. And last but not the least, thro Media Foundation we have tried to address some of the limitations in the current digital media platforms. Please feel free to post any questions or comments you have about the Media Foundation platform. We are eagerly waiting to help you in any way we can. Thanks and happy posting! Prakash Channagiri (and the rest of the Media Foun ...Show All
Windows Forms handling PaintEvent in a class
I can already work with paintevents and graphics in the mainform, but when I add a class and I want to add a pe.Graphics.Drawline() statement, He gives an error. Something with returning a '0' argument( pe => paintevent) How can I also work with drawings in a class Hi, Fata Fata1Attack wrote: static public void DrawPath() { Graphics gr = new Graphics (); Rectangle rectx = new Rectangle (); PaintEventArgs pe = new PaintEventArgs (gr, rectx); Graphics g = pe.Graphics; Pen mypen = new Pen ( Color .Green); g.DrawLine(mypen, 75, 75, 175, 175); } You should not define a PaintEventArgs in this ...Show All
Visual Studio Express Editions A ? from a Noob
Sup guys. I just started learning C#. I like so far. Anyhow, when I run a console application with F5 it runs the program in shell, but when it's finished it automatically closes the window. Where do I go in options to prevent it from closing Thanks. -trist007 Thanks for asking this. I'm a VB.Net noob and was looking for this answer with VB. It still pertains. I was expecting some type of "pause" command, but hey the console.readline works for me. Thanks again for asking in this forum. ...Show All
Visual C# random alpha numeric character
how can i create an a random alpha numeric variable can you please explain how can i control the variable length for example, I need to generate an 8digits random alpha numeric. Keep in mind that it should be mixed, i mean not just alpha followed by numeric, something like x41cy7qz ...Show All
Visual Studio Express Editions Windows Application Start-up when windows does
Hi there I want my application to start up when windows does without it being in the start-up folder...If tehre is a way, please share it with me Thanks, AliQ If it is a background process and you wanted to start even if you have not log on to your system, you can create a Windows Service for your program. Your windows service will start with all other service which will run your program too. ...Show All
Visual Studio 2008 (Pre-release) JulyCTP - Custom Service Host Factory - Service Util - Exception
I came across an interesting exception. First, what we are trying to do: We have our own implementation of service host factory. In the overriden CreateServiceHost method, we read configuration files from a different location and configure the ServiceHost programmatically using objects in System.ServiceModel.Configuration. I wrote a system test (using VSTS), that simply calls the our implementation of service host factory (just like IIS does). After a call to CreateServiceHost method, I open the host (and let VS.NET run after freezing the test thread) and tried to navgiate to an end point using the browser. The page comes up fine with usual proxy code example etc. I then tried using the SvcUtil.exe with same url that I used in the browse ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectDraw Deprication
What exactly do Microsoft mean by depricating DirectDraw Do they mean DirectDraw will be completely removed in the next DirectX release If so, what are the alternatives That's a kick-a$$ book for 2D game programming. Microsoft will always care about backward compatability with games, so you can expect previous dlls to be there. It just may not run as fast as it use to on OSes past Vista. As the book expects you to do after you read, do move your foundation to either Direct3D/OpenGL. ...Show All
Visual Basic Do nothing in a while loop
I have a while loop that runs until one of two conditions are met. 1) A timer elapsed 2) A COM object raises a event that is done doing a task This works great but while the program, it's a window service, is running, it utilizes 50% of my CPU power. How can I make the service do nothing when it's in the while loop My code: With Timer1 .Interval = maxTime * 1000 .Enabled = True Dim i As Integer Do While Not ReadyState And .Enabled i = i + 1 Loop .Enabled = False End With Philip, The goal is to remove the while loop, since it's consuming a lot of CPU (according to your first post). The code to implement the suggested method, would look so ...Show All
SharePoint Products and Technologies Sharepoint Timer Jobs
Hi I do have a requirement where a custom job should be scheduled which would do some task. I have used SPJobDefinition class and created a custom timer job. I have scheduled it to run every 15 minutes. As per my understanding the job should call Exceute ( ) each time it gets initiated. I can see the job being created for my Web Application and getting scheduled. Its getting started every 15 minutes. But it does not call the Execute ( ) each time it gets executed. Is my understanding correct reg this Is there anyone who has worked on this before. Plz help me out.. Thanks suja I dont understand what you r trying to do in this part of code i guess you were trying to creat ...Show All
.NET Development .Net Framework installation problems
Hi, This is my first posting - so appologies if its in the wrong section. I require assistance with the installation of V2 . net x86 framework installation. To date I have had no problems installing V1 or V1.1 patch. However when installing V2 I get an error message sayin the the installer cannot access the Microsoft_VsaVb.dll file. I have a massive logfile (8Mb - yes 8Meg) to compliment the problem. I have uninstalled zone alarm. I diabled my Antivirus (AVG - girsoft), I disable all programs in the system tray just to proceed - but still no luck. I require V2 to run some new appliations and realy would appreciate some assistance. Thank you . Regards, Marcel It doesn't solve anyt ...Show All
