acoliveira's Q&A profile
Gadgets Gadget behavior on spaces vs live.com?
I am still working on my first gadget and noticed things work really different on live.com compared to spaces. If you want to load what I have so far and see what I mean, the manifest can be found at http://www.incendy.com/MyRSS/rssgadget3.xml Basically the css is very different and also the function that rebuilds the list does not really work on Spaces and you have to manually refresh the page to get the new feed. Just curious if others have experienced this and have advice on what I should be doing differently. The function getfeed gets called but the content seems to be cached on Spaces where it works fine on live.com! Thank you Todd0s! I do use the random link, however even with the random link ...Show All
Windows Forms Deploying project via internet
I've searched for an answer to this question for a while and found one post that had the same issue, however the answer that microsoft supplies doesn't seem to work. I've got 3 systems, two of them work fine but the third one doesn't. Here is the problem, when the user clicks on the install button for the setup.exe file the browser displays the xml contents of the .application file. The program is to install on the user's machine... Microsoft mentions that .net 2.0 is supposed to take care of correctly associating these file types and if I get this error I should re-install the .net 2.0 framework on my client machine. I did and had the same issue. I got around this issue temporarily by changing the security settings in explo ...Show All
Visual Basic Checking if drive exist
I got a few questions, maybe you might be able to help. I am needing to design a program that will check for a problem with another pc in my local network. We are not running a server type enviroment, but just a simple peer to peer platform. Any how on to the problem, We use one pc to act as a server, and the hard drives use a raid controller using 1(mirror). We ran into a snaffou yesterday, because no one in that building monitors thier pc's, they just use them, anyhow the raid broke and created 2 independent drives with the same shared folders, and the drive windows decided was bad wasnt the right drive, it renamed the volume and took everyone back to fridays data that resided on the drive that windows thought was bad. Anyhow ...Show All
Internet Explorer Development catches IE Events
Hi, i am writing an extension for internet explorer i have already created the extension however i need to catch IE events like "NavigateComplete" is there anyway to catch the events using visual c# thanks Regards Roy http://support.microsoft.com/kb/269614 it is actually a bug, i suppose quite a number of events arent called at the first navigation. A way to test it out is after open IE, try to enter a url see whether the events catches then ...enter a URL again...and see if the event catches again. well..last time i did have this problem the solution i did was actually simulate a second naviagtion as a first navigation. ...Show All
Visual Studio Tools for Office VSTO deployment and existing excel addins
Hi, I have a VSTO C# assembly and is supposed to be loaded in Excel 2003. When I open the excel file, it gives me "The customization assembly could not be found or could not be loaded" error. When I uncheck the excel addins (esp. Analysis ToolPak) and then open the excel file it works fine. After the file is loaded, I check the addins, everything works fine. To summarize: Scenario A 1) Check excel addins (Tools --> Addins) 2) Open excel file with VSTO customization DOES NOT WORK. Scenario B 1) UnCheck excel addins (Tools --> Addins) 2) Open excel file with VSTO customization 3) Check excel addins WORKS. I am trying to figure out the reasons. Please help. Thanks in advance Swapnil ...Show All
Visual C# random alpha numeric character
how can i create an a random alpha numeric variable This is only really necessary if you are generating passwords or cryptography keys or some other scenario where you can expect that the algorithm will be hacked. For most purposes, the Random class is random enough. ...Show All
Visual Basic Perminently update a dataset without SQL command?
Hi, Is it possible to perminently update a dataset without an sql command. I am trying to edit a data table programmatically, and write my changes to my dataset. Something like this: dim dt as new datatable dt = me.dataset1.table1 dt.rows(1).item(1) = 5 dt.AcceptChanges() me.dataset1.table1DataAdapter.Update(dt) But, after i run this, the table in my dataset does not seem to be updated with the new values. What do i need to do differently Thanks in advance. Pete M Pete_M, DataSet table is stored in the memory and is different from the real table in the database. The following two methods shows the difference between update the dataset and the database tables: Refresh ...Show All
SQL Server client/server processing
I'm going through a set of MS e-learning classes and am confused about where the processing occurs. In general, I thought that all the processing occurred on the Server once the client made a request. This e-learning confuses me as it says that the processing is spread out between the client and the server. What is the correct answer thx, Kat In terms of Sql Server, the processing is all done on the server. The client only has to format results. Consider Query Analyzer. You enter a T-Sql query and request that it be executed. Query Analyzer sends the text you typed in to the Server. So, checking for proper syntax, parsing, optimization, data retrieval, sorting all is done on the server. Query Analyzer gets results back, much ...Show All
SQL Server Connect to SQL Server on a machine on another network?
Hi, I am hoping you will be of assistance to me and provide a little advice on what exactly is possible using SQL Express / SQL Server 2005 with regards to remotely connecting to a server. I am a final year undergraduate student studying computing sciences in the UK. As a final year project I am attempting to create a client-server database, where the client (a WM5 PDA) can connect to an SQL server hosted on a different machine (a PC). However, I must be able to connect to the server when the PDA is being used on any Wi-Fi connection. Basically I want the PDA to be able to connect to a database kept on the PC at home when you're out and about using the PDA's wi-fi. Is this possible If so, could you explain in 'dummy' terminology h ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Hmm?
Wait, now I'm confused... aren't the managed versions of DirectX now Deprecated I heard they were deprecated as of October 2006 in favor of XNA. Is this true, or am I smoking something =) I think it's true. Well, I think MDX 1.1 will continue to be supported, but it's basically dead. MDX 2.0 is toast. And my impression is that there will be no MDX3 or managed DX10. So yes, XNA seems to be the deal. I'd like to try it, but it requires VC express (what's up with that ). Do you know if one can develop DCC applications with XNA Cheers ...Show All
Visual Studio 2008 (Pre-release) Wierd assembly load error.
I get this error intermittently. Sometimes rebuilding clean helps, sometimes it does not. Once I get it to work, it does not seem to happen again until I make a change to the XAML file. Eventually the error seems to just go away if I keep trying to rebuild and run the progam. T he line it is referring to is the first line in the file where I create an CLR object that uses a prefix defined with the xmlns:tagname="clr-namespace:...." format. If I take out that element, it crashed on the next element in the file that trys to use that prefix to refer to classes. All the classes in the assembly it is refering to are in the same assembly as the XAML file (AcsWpfComponents), so I'm not sure why it would be trying to load it again. ...Show All
Windows Forms cannot lauch application on other systems
Hello, I am quite new to Windows Forms programming. My problem is that I can't launch the Windows Forms applications I create with Visual Studio Express 2005 on other systems, where Visual Studio and the .NET framework are not installed. The error message I get (translated from german) is something like this: "cannot lauch the application, because the application configuration is not correct. Try reinstalling the application..." What am I doing wrong Do I have to link some libraries someway I am confused... would appreciate some help... ciao, Pascal Thank you Richard, I will have a look at it, but the application I am writing is for people with analog modems or ISDN, they would need almost 1 hou ...Show All
.NET Development Cannot drop database because it is currently in use.
IN a winforms program I have 2 connections using System.Data.SqlClient.SqlConnection to a SQLExpress Server (2005) One connection (connection1) is to the master database the other (connection2) is to a database which I have created dynamically When I call a close on the second connection the connection state in my program shows closed, and I dispose of the connection object. With connection1 I try execute Drop Database on the database which connection2 was connected to. I receive a "Cannot drop database "MyDatabaseName" because it is currently in use." I look with SQL Server Mangment Studio at the Process Info and there is still a process Id on the connection (connection2) which I closed. ...Show All
SQL Server Help with installing VS Tools
Hi, I have a problem with the installation of SSCE31VSTools-ENU.exe into VS2005. The installation ended after a few seconds although in the event log there is information that the product is successfuly installed. However, when I run Visual studio there is no project under Smart Device regarding SQL Compact database or something similar (there are only templates for: device application, class library, control library, console application, empty project and nothing more) VS2005 is in this version 8.0.50727.762 (SP.050727-7600) In application event log there is: Product: Microsoft SQL Server 2005 Compact Edition Tools for Visual Studio 2005 [ENU] -- Configuration completed successfully.'" Has anyone some idea if there is a ...Show All
Silverlight (formerly WPF/E) Store image object in a javascript object
I currently have an application that creates an image object in pure javascript using the following code: this._image = new Image(); $addHandler(this._image, 'load', Function.createDelegate(this, this._onLoad)); this._image.src = url; The neat thing about this is that I can wait with putting the image element into the HTML document until the browser actually has it loaded. So basically my onLoad function just add's it to the DOM and hides a progress indicator: $get('images').appendChild(this._image); this._image.style.height = "50px"; this._image.style.width = "50px"; $get('progressIndicator').style.display = "none"; Now, I want to do the exact same thing using XAML, but as far as I can see, you j ...Show All
