kkarrancsu's Q&A profile
Visual C# Live Update?
How could I add a live update to my application using: WebClient client = new webClient(); client.DownloadFileAsync(Uri address, FileName filename) I can download the file and run it with a dialog box, but I need to check the version of the file I have just downloaded. And if the file version is higher than the current, it runs, else it shows a MessageBox. I have known ClickOnce is there. I would have used it if I intended to do so. I wanted a user-friendly and user-interactive live update. Also, I tried a different Forums section to see if anyone in this group could help me. ...Show All
Visual Studio Express Editions about DataSet Designer, please help
hi, i would like to create a schema from an xml file, i know that xml editor do that , but after opening the xml document and by clicking right on it, i havn't the "create schema" Function, i'm using visual C# 2005 Express. i have found the same issue with no solution in this forum at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=576198&SiteID=1 please help PS: i'll do same think like is explaned in this article : http://www.ondotnet.com/pub/a/dotnet/2003/03/31/xmldatadocument.html Could well be an Express edition limitation. Try using the free Microsoft XSD Inference utility , worked well when I tried it... ...Show All
.NET Development Named Pipes connection fails; but it's turned off!
We're running on a farm with a bunch of webservers and 3 database servers, spread over two locations. We're using P2P replication in SQL 2005. I'm creating a connection from an ASP.NET 2.0 website to SQL Server 2005. This is my connectionstring : Pooling=false;Database=whatever;Server=10.10.0.14;uid=myUser;pwd=myPassword; I'm using an ip address in the connectionstring because it's the load-balancer which will decide to what server I will actually connect. Pooling is off because I can't have it using the same connection over and over, I want it load balanced! :) The problem System.Data.SqlClient.SqlException : An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure ma ...Show All
Visual Studio Express Editions How to Get a File from a webpage?
Hello, I am trying to find out how to get a file (word, excel, etc.) from a webpage. I am using Visual Basic Express 2005. Would I use webrequest, get or some other command. I understand how to get a webpage, but not how to get a file that resides on a webpage. Thank you for any help you can offer. Try my .Computer.Network.DownloadFile passing in the source URI and destination path. Jim Wooley http://devauthority.com/blogs/jwooley ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Creators Club Question
It says on the Creators Club page that "Both subscriptions provide aspiring game developers with access to thousands of game assets from Microsoft and key partners such as Turbo Squid Inc., as well as white papers, specialized starter kits, samples and technical product support to help turn Your World, Your Game into a reality." So my question is... where are these game assets How can I access these or are they not out yet If they're not out yet, why am I paying for only partial advertised service Can I sign up for Create Club even if I don't have an XBOX 360 (I tried by can't find it in XBOX Marketplace on PC access) I do plan on getting one (when the funds are available), but I would like acces to the extras. Perhaps I sho ...Show All
Visual Basic Sub Main vs Form Startup
Upgrading a program from VB03 to VB05 using VS05... The My Settings Application tab has the old method of Sub Main but a new method of starting a program using a check box enable application frame work and selecting a startup object that is a form. a) what are the pros/cons of doing it the two different ways b) I tried by changing the settings and moving the methods from sub main to the main form, making adjustments (going from a module to a class, etc.). But, after about 1 hour, I gave up. I could not get it to work. I was getting a message that a com object (which is used in the program) was tieing up the program for more than 60 seconds (don't have the exact error message handy). Is there a walk through on converting from the o ...Show All
Smart Device Development Custom Dialer as my primary dialer on windows mobile.
I want to use my custom phone dialer as my primary dialer. Is this possible or probably, is there a way that can hook it up on Dial/Hangup keys Thanks in advance, any reply will be appreciated. If you want to replace a dialer, no, you can not do that as a third party developer. MSCDial is the king of the scene on WM 5.0, and you can not intercept calls to it. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Will the XNA Software Be Available On Mac's Some Time
Will the XNA Software Be Available On Mac's Some Time David, What about Cider ...Show All
Audio and Video Development Good to be here
I just want to say hello to everyone- It was great to meet some of you at the workshop, and I'm looking forward to getting down to biz in HD DVD land. -=Matt Strauss Subatomic Digital, Inc. ...Show All
.NET Development Unexpected behaviour of Hashtable with a class object as the Key?
I want to use a class I made containing an array of objects (MyClass) as the key for a hash table. I override the GetHashCode() function for the class but still I am getting unexpected behaviour (ie the variable "test" is always null). Here is the code: //////////// Calling Code (in a button event or similar) Hashtable h = new Hashtable (); // Add MyClass objects to hash table h.Add( new MyClass ( "key" , 1), "value 1" ); h.Add( new MyClass ( "key" , 2), "value 2" ); h.Add( new MyClass ( "key" , 3), "value 3" ); string test = ( string )h[ new MyClass ( "key" , 2)]; if (test != null ) { MessageBox .Show(test); } /////// MyClass //////////// public cla ...Show All
Microsoft ISV Community Center Forums Place a CR in normal Text Box via vba
I am trying to place CRs in a normal Excel text box via vba in an initialization routine. Here is the code I am using: Option Explicit Dim iLines As Integer Dim iCount As Integer Private Const SCG1 As String = "Line 1" Private Const SCG2 As String = "Line 2" Private Const SCG3 As String = "Line 3" later in code I have the statement: ActiveSheet.DrawingObjects("Text Box 2").Text = SCG1 & Chr(13) & SCG2 & Chr(13) & SCG3 However, the Chr(13) does not appear as a CR, but instead as a square character. The text does wrap at the margins of the text box. I have also tried using vbnewline instead of chr(13) with the same results. How can I get a real CR into the normal Excel text box ...Show All
Visual Basic Dataset InserAt
Hello, I am attempting to insert a new row into my database into a particular row location. I use the following code. dim newrow as datarow = me.testdataset.test_table.newtest_tablerow newrow("ID") = "33" newrow("CAB") = "44" me.testdataset.test_table.rows.insertAT(newrow, 3) Now, if I check the contents of row 3, ID does = 33. However, once this information is updated and sent to the database file via the tableadapter.update command, the row is placed at the bottom of the table. Why is that Any help would be great Thanks, - Edward I did understand you problem and detailed the issue that the dataset and the database table are NOT ...Show All
SQL Server Excel Export error in RS200SP2 when nesting tables within matirx
I was hoping someone could help out with this issue....I've got a report I created in Reporting Services 2000 SP2 where I am nesting table elements within the row and detail sections of the matrix. This allows me to have multiple items within my "row" data with column headings, and works perfectly fine within the designer, and viewer, and whenever I export it to any format other than Excel. Exporting to excel results in a "Specified cast is not valid" error. To me this seems to be a bug in the Excel rendering extension, since it seems to be supported in RDL. Has anyone else run into this Is there a fix to the renderer or a workaround that anyone is aware of I'd be happy to post the RDL if anyone is interested. ...Show All
Visual Basic Cascading combo lists
Does any one know how to create cascading combo lists where in one combo list, you select a product and another combo list would display the sub-products/subcategory related to the product. How would the database design work so that the information can be correctly displayed in the combo lists. I have been trying to get my head around implementing this, but I have not found any suitable answers on the web. Any help would be great. Regards Dipendra its very easy. all you need to do is change the Sql statement - thats all! :-) so if combobox was dropped down you need to select from second table (AssetSubCatName) the field AssetSubCatName WHERE AssetCatID = AssetSubCarID. That's pretty much ...Show All
Visual Studio Express Editions Lesson 10 code manually entered = errors - Help
Great lessons, even with a few small errors, but cannot get around this in l.10: System.IO. StreamReader sr = new System.IO. StreamReader (@cars.xml); MsgBox: '...the name'cars' does not exist in the current context'. Have copied cars.xml into the dir's Projects\...\bin\debug as told, but cannot get around error so cannot execute. What am I missing Read this webpage for the meaning of '@' ...Show All
