RizwanSharp's Q&A profile
.NET Development Insert items in table from database?
How can one insert items in database tables in oracle from vb.net Hi, Here is an example: http://aspalliance.com/621 You can use the System.Data namespaces which ship with .NET or use the optimized classes which need to be downloaded from Oracle. Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All
SQL Server Trying to return whole records with distinct fields
Hi I am trying to write a query that will return a full record with a particular distinct field (the rest of the record being the first such record that includes the distinct field). For example, for the following: Fruit Like Colour Apple Y Green Orange N Orange Banana Y Yellow Grape Y Green Grapefruit N Yellow I would want to return (assuming Colour was the distinct field): Fruit Like Colour Apple Y Green Orange N Orange Banana Y Yellow How do I do this I've tried using a join (of all different kinds) with a subquery that uses SELECT DISTINCT but this doesn't seem to work. I've tried GROUP BY but none of the aggregate functions seem to just take th ...Show All
Game Technologies: DirectX, XNA, XACT, etc. In Game Movies
Does anyone know whether the XNA Framework will allow for games to be written that have Cut-Scene videos, perhaps using non-Microsoft codecs such as divx or another codec that allows high-video compression to limit the size of the game. Will the game be able to use any audio/video codecs that Windows has installed on it, and will it be able to load pre-written non-managed code DLL's Dr.9 wrote: +1 How do we formally request it XNA builds should at the very least be able to play high res windows media 9 content. - Nevermind, I found it on the 'features request'. Only 10 other people bothered to request. ...Show All
Visual Studio Team System VS2003 version control w/TFS
I have just deployed TFS in a test environment and would like to continue to use VS2003 for some projects. I have installed the MSSCCI provider and the team explorer alongside VS2003 and gave myself admin rights but I am experiecing the following error when starting VS 2003: - 'To ensure optimal source control integration with VS.net, check with your source control provider for compatibility and update information. Installed provider: team foundation server MSCCI provider' Also when I try to check out from a project it is coming up with a red exclamation mark Your help will be highly appreciated. Regards, Qzammit Hello, if I remember correctly you can mark the message to not show it again - this is just the gene ...Show All
.NET Development Webservice throws exception "Expected text/xml" but got text/html
I access a Webservice written by our client developers.I call a method written by me and return a dataset to the client.This exception happens only when more than 3 users access the application fropm their client machines. I put tracing statements in my method and even put try-catch block in order to write to a log file if exception happens.But no errors are written to the log file from my method. But the control does not go back to the client code.It would take some tinme and throws this error ""Expected text/xml" but got text/html". Does anyone know how can i find out the real problem behind this, what is the actual problem that has occured Pls help. The web server doesn't need to return an h ...Show All
.NET Development sql question
Would there be a way to make the c# connection string to the sql database universal, so that it can be passed from one computer to another It's for a school project, so security isn't an issue. Hi, marric What do you mean by universal If you want to make several machines connected to a sql engine as server, just set the same remote connect string in app in all clients computer. If you mentioned is asp.net app with sql engine in same server, others dont need to set anything, just use browser. If you can make it clearer, pls feel free to let me know. Thank you ...Show All
.NET Development How to compare 2 files...?
Hello All of you, I have a little problem. I working on a small project and in this moment I'm stuck. I need to see that 2 files have the same content, I know I have to use StreamReader and StreamWriter, but how do I do it easiest... I hope you can help And one more quastion do you know how to check every 30 second... I tried with itteration....but....., so do you have some references.... I use somthing similar to this in my windows service. canContinue is a flag that I setup to be set to false when the service gets the message to terminate. while ( canContinue ) { do_processing (); Thread.Sleep(30000); } Simplistic. But it works for me. ...Show All
Visual Studio 2008 (Pre-release) creating client proxy from https service
Hi, everyone I just downloaded sample from Mike Taulty's Blog http://mtaulty.com/communityserver/blogs/mike_taultys_blog/archive/2006/06/08/5848.aspx He posted a sample on UsernameAndPassword validation sample. Here he uses https transport. I'm trying to regenerate the client proxy but when I type in svcutil.exe https://localhost:9500/service I get errors. From his sample, it seems like he generated code using a something called ProxyCode.map which looked like this. < xml version="1.0" encoding="utf-8" > <ServiceReference> <ProxyGenerationParameters ServiceReferenceUri=" https://localhost:9500/service " Name="ProxyCode" NotifyPropertyChange="False"   ...Show All
Windows Forms outlook express 6 help need to close
I have installed a e mail backup program called e mail backup guardian, in order to restore a backup, it tells me to shut down outlook express from running,I do not know how to do this. I need to retrieve mail that was missing when I opened up OE, do not know how it got wiped out, the other 2 mail programs were ok. I have a backup file from this program but am unable to wirk it because I cannot shutdown outlook express from running. Sorry but this is a development forum and not an outlook support group. Therefore I have to suggest to you to repost the question in the appropriate newsgroup: www.microsoft.com/communities thanks! ...Show All
Smart Device Development Http Image File Uploader for .net compact framework 2.0
Having major problems trying to upload a file (an image) to a webserver via http post, keep getting a WebException.. Tried using the example code available at: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/httpcomm.asp ---------- Code -------------- private void menuItem2_Click( object sender, EventArgs e) { String httpResponce = UploadFileBinary( @"\Storage Card\test.jpg" , http://www.myServer.com /upload.php ); MessageBox .Show(httpResponce); } public String UploadFileBinary( string localFile, string uploadUrl) { Cursor .Current = Cursors .WaitCursor; HttpWebRequest req = ( HttpWebRequest ) WebR ...Show All
Internet Explorer Development communication between BHO and IE Toolbar Extension
Hi, we have a working Browser Helper Object (BHO) implemented in C++, that is used to append some header information to HTTP requests. Also we are able to create a toolbar extension for IE. Our fundamental problem is to find a way to make these two communicating with each other. The BHO should take into account, e.g. if a checkbox is set in the toolbar etc... I've found enhanceie.com and all the information in the Add-on Development Section. Given that there is virtually no information on the internet, that fits our (maybe somewhat special ) problem, this site is the closest I could get. So I wonder if anybody can give us a hint or (even better) a working code example, to set us on track. Is there a "usual" way to impleme ...Show All
Windows Forms Custom DataGridView
Hi, i am created custom datagridview when i am enter the data in to the cell it is disappear immediately. base paint method paint the cell so i cant able to enter the data plz help me Hi I am just wandering did you ever get this working I am looking do achieve something similar myself but I am fairly new to C# and I am struggling somewhat... Have you posted your control on sourceforge or similar as i would like to try something like this in my app thanks Simon ...Show All
Software Development for Windows Vista wf.Parameters
I saw many place there is code like wf.Parameters[ "Parameter1" ].Value = 1; But,when I added this code to my program, I got a compile error said Parameters is not the member of wf. How can I do to solve it or is this not available in my WWF version I'm using WWF beta 2.0. After beta 1 - there is not longer a Parameters collection on Activities (workflows) - now any public property can be set as a parameter - you create a Dictionary and pass that data to CreateWorfklow Dictionary<string,object> params = new Dictionary<string,object>(); params.Add("Parameter1",1);//assumes a public property named Parameter1 on your workflow type WorkflowInstance w ...Show All
Visual Basic Language change with ChangeUICulture not after Publish
HI I' using MVB 2005 Express Edition for a multilanguage application (on Win XP Pro). I have set to resourcefiles: resources.resx and resources.de-DE.resx. When I run the application in Debug mode in MVB, I can change the Language with a Combobox: Private Sub cboLanguage_SelectedIndexChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboLanguage.SelectedIndexChanged If cboLanguage.SelectedIndex = 0 Then My .Application.ChangeUICulture( "en-GB" ) 'My.Resources.Culture = New CultureInfo("en-GB") 'Threading.Thread.CurrentThread.CurrentUICulture = New CultureInfo("en-GB") End If If cboLanguage.SelectedIndex = 1 Then My .Applicat ...Show All
Internet Explorer Development YouTube is not working on IE7
Friend of mine was trying to show me a video that my friend made, so he uploaded it through YouTube. He gave me the link to view his video on YouTube. The video doesn't play on IE7, but does play on IE6. I tried to enable all ActiveX, no luck. Is there any alternative Thanks for you time. OK, I had complete success by first uninstalling the flash player that Victor Zamora suggested then installed the debugger alone hullaballoo suggested and youtube works perfectly. Thanks to both of you! ...Show All
