Exploder's Q&A profile
Software Development for Windows Vista Printer Drivers for XPS Documents On XP and Server 2003
Will there be printer drivers that operate on XP/Server 2003 for XPS documents I am familiar with the MXDW writer. Can I make an assumption that to take full advantage of XPS, one has to use Vista as this OS will have the full compliment of printer drivers I have searched but either this is a dumb question or have not framed the search query right. Thanks Take a look at the XPS Essentials pack (currently its beta2 is released). I believe it contains a printer driver that will work on w2k and up... (somebody should correct me if that is wrong...) Thx, Rob ...Show All
Software Development for Windows Vista How to use DirectShow in a multithreaded application
Dear DirectShow forum, When I call functions related to the filter graph from a different thread than the one the filter graph was created on, strange things happen (functions cause errors or do not return). How can I use DirectShow in a multithreaded application P.S. I am using DirectShowNet in the C# language. Thank you! wtrn Hi LGS, I am creating the thread which calls the DirectShow functions with player = new Thread(new ThreadStart(Render)); player.Start(); I am not using any [STAThread] or [MTAThread] attributes, so I understand that the thread is created as MTAThread by default. I tried adding player.ApartmentState = ApartmentState.STA; before player.Start(); but this did not change my outcome. Lo ...Show All
Visual Basic Slow Timer
Hi, I've written a program that uses a timer to control an external relay (via USB) that turns on a light. The problem I'm having is that the timer is slow (about 4 seconds per minute) on my desktop computer, but its timing perfectly on my laptop computer. I've retested this on other computers and I get a similar result. Is there a way to ensure that the timer is right on everytime Its also worth noting that the clocks on all these computers are keeping the correct time. Thanks, P Post your code. If the timer is just set for, say 60,000 (once a minute) then switch to something like Timer.Interval = 1000 Private Sub Timer1_Tick( ByVal sender As System.Object, ByVal e As Sys ...Show All
Visual Studio Express Editions forms in forms
what would i write to call a module or a proceduee from another module or procedure if i had a sub yourname in a classs mainprog and yourrname gives me two options via buttons, oe button is addname, what do i write in yourname to send the program to addname. i have tried addname() call addname() and i get constant errors surly there is a simply code to call a sub from a sub they are all set to public so that was not the answer. to show the form you use the addname.show which will show the form, but i want to send the program to various places to do something. modules are different than forms to a certain extent. module are just plain ...Show All
SQL Server Error creating Subscription to reports
Hi all, I am having a HUGE issue with SSRS, I am running SQL 2005 on Win 2003 server, the SQL uses SQL and windows permissions. I have a datasource which stores it credentials securely on the server but for some reason when i try to subscribe to the report it errors saying "Subscriptions cannot be created because the credentials used to run the report are not stored, or if a linked server the link is no longer valid." Beats me but the credentials are stored, I am connecting using a user account which can run the report fine (This is proven). I have SP1 installed, and have literally tried every last option in the book. N.B i have read all the existing post about this and i seem to have a different ...Show All
Visual C# True Copying Reference-Value Objects
I have stumbled upon the following problem: Given an object (any reference-value class) O1, how can I copy it to another object O2. O1 = O2; //will only copy the reference, but I want a new object being exactly identic to the old one. Also, how can I do the same thing on an Array int[] arr1, arr2; arr1 = arr2;// also, doesn't work, only copies the reference Hope I made myself clear enough. Thanks in advanced. Hi have a look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1119209&SiteID=1 Hope this helps, please close the thread if it does ...Show All
.NET Development Problem in receiving large message using TCP Listener
Hi, I am developing Tcp Client and Server program using C#. Application works fine, if the message (client sends string with 2000 characters) is small size. If the message is quite large (say 5000 characters), receiver is not able to receive exact message. Message is received but not from the beginning. Kindly help me to solve the issue. Thanks & Regards, kalai You can use the TcpClient and TcpListener classes in system.Net namespace to achive that. You can find working samples there. http://msdn2.microsoft.com/en-us/library/1612451t.aspx http://msdn2.microsoft.com/en-us/library/zsyxy9k2.aspx Mariya ...Show All
.NET Development xml help please.
I want to read only the text in the following xml into an array. Please help. < xml version="1.0" encoding="utf-8" > <precipitatedata> <precipitate> <abrev>TiN</abrev> <fullname>Titanium Nitride</fullname> <firstelement>Titanium</firstelement> <secondelement>Nitrogen</secondelement> </precipitate> <precipitate> <abrev>TiC</abrev> <fullname>Titanium Carbide</fullname> <firstelement>Titanium</firstelement> <secondelement>Carbon</secondelement> </precipitate> </precipitatedata> I want to read like... abrev[1] = TiN abrev[2] = TiC fullname[1]= Titanium Nitride fullnam ...Show All
.NET Development WebRequest.GetResponse() lock problem
Hello , I am doing simple stress test for my web appliacation . I am trying to create 100 opened connection to web server , but I am able to create only 3 connection. After the method GetResponse() lock my program. for (int i = 0; i < 100; i++) { HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://www.google.com"); WebResponse resp = request.GetResponse(); } Any ideas ...Show All
.NET Development Countdown Timer
I can't figure out how to make a timer countdown rather than counting up, I know that it has to do with System::DateTime::Subtract. I have a DateTimePicker, and I want the timer to start right when you change the value of the DateTimePicker, and I want the countdown to be counting down from the value I choose. For example if I choose August 14, 2006 on the dateTimePicker, I want the timer to be counting down from that date. Try this: System::TimeSpan diff = System::DateTime::Now.Subtract(dateTimePicker1->Value); label2->Text = diff.ToString(); You probably want to format it a little nicer, I'm sure you can figure that out... ...Show All
Windows Forms allow nulls in databinding with DateTime datatype and typed dataset
Greetings, I want to be able to use databinding with null values, specifically datetime. I found that the datetime type isn't even nullable without using "DateTime ". So, I have a custom control with a property called value which is of type DateTime . public DateTime Value { get; set; } So now, I want to databind to this property, as it will allow null values for the DateTime but the typed dataset doesn't provide a DateTime datatype. Is there a way to bind to this datatype ...Show All
Visual Studio Team System Cannot use the Performance tools
Hi, I'm trying to use the Performance Tools built into VS2005 but can't. Nothing happens when I try to create a new performance session, use the performance wizard or even view the performance explorer. (i.e. I click the menu item and nothing happens.) I think, I may have accidently removed it. Can anyone please tell me how to get it back. Thanks. I'm not able to create a new performance session or interact at all with the performance tools. Just before the incident, I installed Crystal Reports XI Release 2. After this, I tried opening a saved performance session - that had a crystal library. VS complained and closed the performance window and that was the last I interacted with the perfomance to ...Show All
Visual Studio Express Editions how can I just load form1 without show him from other form(form2)?
Hi, I have an application that take 6 second to load and then to appear on the screen (in the 6 second you can see the form but he look like stuck and after 6 second it is working properly). I want to do a progress bar while the application is loading. So I thought maybe to make another form(form2) with a progress bar and to load the first form (form1) while the progress bar fill in ( in form2). but I didn't find how can I just load form1 without show him I be glad to hear other ideas if you have Best Regards, Yaniv with : Me.Hide() Form2.ShowDialog() Me.Show() it is open the form2(progress bar) when the progress bar end he doesn't continue ...Show All
SQL Server Combining Output PDF files
Is there a way to output reports to the same PDF file. Basicly Appending several reports to the one PDF. Without combining the reports using subreports, I think you would use code & custom PDF components, unless you want to jump into writing a rendering extension. Softartisians Officewriter & abcPDF.NET are two possible options. You can also try automating Acrobat. http://www.planetpdf.com/forumarchive/84747.asp One alternative may be to export to a different format and then convert to pdf afterwards. cheers, Andrew ...Show All
SQL Server Command line/utilities to clear cache
Hi,Does Reporting services expose any command-line or utility tools to clear reports cache explicitly other than the caching configuration at certain interval Thanks,Jet You can find information about scripting here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/rsuiref/htm/cpu_rs_v1_5fxe.asp You should also look at this: http://msdn.microsoft.com/library/default.asp url=/library/en-us/rsprog/htm/rsp_prog_soapapi_script_3249.asp The flush cache method is here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/rsprog/htm/rsp_ref_soapapi_service_ak_22i9.asp You script will look something like this (not sure this is 100% correct) Public Sub Main() Dim i ...Show All
