gmeadows94410's Q&A profile
Visual Basic How to programmatically close IE browser using vb.net
I am opening report in pdf file through Reporting Services (RS) (SQL 2000 RS) through IE explorer 6.0 (meaning, it will call to C:\program files\internet explorer\internetexplorer.exe first, then it will go through RS to grab the report and display in pdf format). it opens fine when I am on window 2000. when we moved to Win 2003, same code, it still opens the report, but it would also accompany an IE Action Canceled message. I wanted to embbed a few lines of code to close the IE browser programatically using vb.net (after the code that display the report), I am desperately seeking for a solution on this, any help would be greatly appreciated. you could get a list of processes ...Show All
.NET Development remote debugging problem
I'm having some difficulties debugging a web service from a local winform app to a remote development server. I have the remote debugging monitor program running on the remote machine, and it is picking up the attempts to connect in the log. So I know that the code is calling the remote machine and connecting to the web service, it just won't allow me to debug the service. I read up on some of this, and I've seen that they suggest putting the App_code directory in the same directory with the web service. Whenever I copy the App_code folder over to the web service directory, I get an error stating that it is expecting "text/html" instead of "text/xml". The service is a database service that adds an error record int ...Show All
Windows Forms Regarding Setup Project in VS 2003
Hi! I am trying to buids large setup project(approx. 1.7 GB File size) but it gets failed giving error as "Not Enough Space available" . But I checked the memory size but there is enough Free space on C drive. I also build it as msi and Lossely compressed but it doesn't work. Should I use Installer available from other vendors Setup and deploy projects are not able to deal well with these large types of installations. Here is one possible work-around: 1) Add a file with the same name as your large file to the project. 2) Set the installer to Package as Loose Uncompressed files via the project property page 3) Build 4) As a post-build step, copy the full-sized files into the build location. ...Show All
Visual Studio Team System Problems with dots in the name of projects
Hi I'm using the application designer to model my solution and try name my projects withe the ms pattern: Company.NameProduct.Componentt But when I try to set the field Project in a Windows application element on the property page I get the following error: 'Porperty Value is not valid' In ASP.NET Web application all works fine. Any clue Thanks in advance Javier Thanks in advance Javier This is a bug in the product. You can log the bug at http://connect.microsoft.com/feedback/default.aspx SiteID=210 and we will investigate the cause. In the meantime you can work around the problem by creating the Windows project in your solution using the naming convention described above ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Best way to learn
What is going to be the best way to learn XNA I have to say I am not used to "new" technologies. My experience comes from looking up tutorials and then following them and expanding off of them. However, with XNA this is brand new and I hope to be create the tools. Here in lies(sp ) problem I have no idea how to learn something without an abundance of tutorials. XNA has gotten me real excited and I can't wait to get my hands on it and maybe become one of the first people to really adobt and get into the XNA community. Any help would be greatly appreciated. Thank you, Buddy Lindsey Thanks for the help both of you. aka_Big_Wurm I actuall sent you an e-mail from the learn-xna site e-mail. I was wanting to try to help you out i ...Show All
Visual C++ Open a new form from another form
Hi all, I'm using VS2005, VC++ I want to open a new form form another form, and I also want to close the old form after new form open. Just like Form1>>open Form2>>close Form1 I try many ways, but it didn't work. THX! See http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=677047&SiteID=1 which deals with similar issue. Thanks, Ayman Shoukry VC++ Team ...Show All
Windows Forms MDI Form
In my application, i have an MDI application and all the forms that are being displayed are derived from "System.Windows.Forms.Form" ... in this case i were unable to bring the windows to the from simply clicking on the body of the form... I even used the onclick event to bring to the front. That works fine however on clicking on Tabs->TabPages or any other panel over the windows,it does not generate the click event for the form .. is there any simple method to bring the form to the front this should be automatic, maybe you have additional code that messes up the mdi child forms from being activated. for the meantime, you can try around BringToFront() method of the Form class inherited from the control class ...Show All
Software Development for Windows Vista wwf
hi, i want to learn more about windows workflow foundation. i want to learn how to create a simple web form with wwf. can you help me... check out the docs here for an overview: http://msdn2.microsoft.com/en-us/netframework/aa663322.aspx Especially the doc: http://msdn.microsoft.com/msdnmag/issues/06/03/cuttingedge/default.aspx should help you get started. Community samples: http://wf.netfx3.com/files/13/default.aspx To download .NET 3.0 which has WF in it check here: http://msdn2.microsoft.com/en-us/windowsvista/aa663308.aspx http://msdn2.microsoft.com/en-us/windowsvista/aa904955.aspx Let us know if you need more help. Vignesh ...Show All
.NET Development import / parse DIF files (Data Interchange Format)
Hi there! Is there a way to import data from a DIF file into a data table object The only thing, I found, is this one: Dim myFileStream As FileStream = File.Open("Temp.dif", FileMode.Open) ' Store the data into Dif format. Dim myDataObject As New DataObject() myDataObject.SetData(DataFormats.Dif, myFileStream) But now I don't know, how to access the data in the "myDataObject" object... Any ideas THANK'S That doesn't seem to work for me. I'm getting a null value returned when I use the Text format. Any other suggestions on to how to get it into a datagrid or something like that Thanks ...Show All
SQL Server Oracle odbc driver on windows 2003 64 bit, SQL Server 2005
God morning! I 've just installed SQL Server 2005 on Windows 2003 Server 64 bit. One of my databases need to connect to seveal Oracle databases. - I tried installing 64 bit Orcale 9 on this server. Got a strange message that the application (Oracle 64 bit) could not be installed on a 32 bit server! Strange! - I installed Oracle 9 32 bit on the server, but I could not find ODBC driver in the Data sources! Neither the oledb under providers in MSS Manager Studio! - Same result efter several desintall and installation. A college copied the .dll files och run a script to register the dll files. We could then se the Oracle driver in the Database sources, but we could not create any connection. - We have even tried an 10G version of Oracle with t ...Show All
Visual C++ stringstream/ifstream and converting data types
I am currently writing a CSV string parser, which takes in a string and allows me to do such things as getUnsigned() and getDate() by specifying the position. In a failure-mode test I am writing, I am trying to do a getUnsigned() on an element that is the string "2006-8-1". Naturally, this is not an unsigned, and I even though I have my ifstream set with failbit and badbit, I get no error/exception. Instead, I get "2006" returned. Below is the code I have written for the CSV parser's member getUnsigned(). Does anyone know how to get the ifstream/stringstream to not do a "best try" and instead either give the whole thing or an error/exception Jonathan Scott std::vector<std::string> pars ...Show All
SQL Server Credentials in Data Sources are getting locked out of SQL
Weird one this.... Created a report. Set up a new datasource. Using credentials securely stored in server. Set up a local user on the SQL Server specifically to reference through this datasource. Go to reportserver, run the report, and it runs fine. Run it a couple more times, runs fine. Then, all of a sudden, it fails, with the error message The referenced account is currently locked out and may not be logged on to. (Exception from HRESULT: 0x80070775) This is very strange. I check the account on SQL, and it's still enabled. As it's not a domain account, it hasn't been disabled on the domain. I'm not even familiar with the phrase 'locked out'. After a bit of checking I find out about maxInvalidPasswordAttempts, whereby ASP 'locks ...Show All
Visual C++ Setprop() and property list?
Hi I am trying to understand BOOL SetProp( HWND hWnd, LPCTSTR lpString, HANDLE hData ); and HANDLE GetProp(HWND hWnd, LPCTSTR lpString ); functions.MSDN writes: The GetProp function retrieves a data handle from the property list of the specified window The SetProp function adds a new entry or changes an existing entry in the property list of the specified window But what is the meaning of "propery list" Where is it Is it WNDCLASSEX's members or something else I dont understand the benefits of window properties and window propert list.Please help me. Thanks... ok thanks but I had read it before i posted. For example please look at here: http://msdn2.mic ...Show All
Visual C# Object Oriented Programming
Hi all. Im a C++ Programmer that just moved to C# and am having problems learning about classes and objects, i just cant seem to understand it. Im not sure whether i have the wrong book, so any advice and help on the best place i can learn OOP for C# from would be much appreciated. Thanks. cgraus wrote: Ah, OK, so you didn't do much C++ The real differerce is that C++ ALLOWS OOP, C# ENFORCES it. You can't have global methods in C#, you don't even have a global namespace. Everything is inside classes, wrapped in namespaces. http://www.google.com.au/search hl=en&q=OOP+C%23&meta = Any of these will do for starters. C# does not enforce good object oriented ...Show All
Windows Live Developer Forums Can't Edit Spaces Page
I need to edit my spaces page. I sign in, and don't get the link to edit the page. I can view all my account info and profile, but can't edit my page. The Help was no help, and I don't know what to do. At this point, I would just delete the space if I could and start over, but I can't do that either. I have another spaces page with another account and can access that one with no problem. I don't know if it's something simple I'm overlooking or something more complicated. Either way, there's information I REALLY want off my space, and any help you could offer would be great! Thank you~ Jennifer ~Let me know if you need more info~ I wish I could help. I can't edit mine either, although I seem to get further than you. I ...Show All
