Software Development Network Logo
  • Smart Devicet
  • SharePoint Products
  • Visual Basic
  • Visual C#
  • .NET Development
  • VS Team System
  • Audio and Video
  • SQL Server
  • Game Technologies
  • Microsoft ISV
  • IE Development
  • Visual C++
  • Windows Vista
  • Visual FoxPro
  • Windows Forms

Software Development Network >> Muhsin Zahid Uğur's Q&A profile

Muhsin Zahid Uğur

Member List

canadian_coder
Denvas
Dr.Virusi
Frances83
Thibaut Barrère
Arun Shreedhar
parreg
doank
Charles Cox - MSFT
Thornsdale
Ejele012
biw
gudel
Mjaiswal
Little_Dice
traderhen
Mar_GP
YaacovG
dn8
Will Merydith
Only Title

Muhsin Zahid Uğur's Q&A profile

  • Visual C# Thread looping with EndInvoke and InvokeRequired

    Hi! I've a rare problem doing a query to a DB and try to update a DataGrid. I make a asynchronous query to BD, and when ends callback to a EndQuery function: private void void EndQuery( IAsyncResult ar) { TareasAsincronas.Remove(ar); TareasAsincronas.TrimToSize(); DataSet Resultado; BD .Q.EndInvoke( out Resultado, ar); ActualizaGrid(Resultado); } private void ActualizaGrid( DataSet DS) { if (dataGridView1.InvokeRequired)  {  CallBackA RCB = new CallBackA (ActualizaGrid); //<<<--- StackOverflowExeption here !!!  RCB.Invoke(DS);  } else dataGridView1.DataSource = DS.Tables[0]; } Where'is the problem IDE warning me for a infinite loop or infinite recursion... Regar ...Show All

  • Visual Studio Express Editions Publish V C# 2005 with SQL Server Express 2005 Database

    Hi @ll I published a simple program using visual c# 2005 express beta 2 with database type sql server express edition 2005. Everything work fine inside my PC But nothing work in my friend PC ! I can run the GUI but when I trying to enter data error message coming to me say's "Timeout Expired" I tried to install framework 2.0 beta 2 in my friend PC then I Installed the full version of sql version express ! My Q here Do I need to special file to include the program when I publishing it ( and How ) or I should do something more Or I need third party program to help me Installing the program Or Microsoft made this option only in professional version of c# Pleaseeeeeeeeeeee Help me , please I'm alone here AS SOON AS POSSIBLE and I will be than ...Show All

  • SQL Server Need to convert NULL values to 0, (zero) in order to perform math calculations

    Using a reporting services model/report builder we have two related tables: - Fundings, (parent) - Draws, (child) Report Builder reports that subtract "Total Fundings.Amount", (which is SUM(FundingAmount)) from "Total Draw Amount", (which is SUM(DrawAmount)) to get a balance work as expected except when there are no Draw rows, in which case a NULL is returned. Obviously we want to convert NULL values of "Total Draw Amount" to zero so that when subtracted from "Total Fundings.Amount" the correct value is displayed. I've searched for a function similar to COALESCE (Transact-SQL) in report builder but found nothing. Can anybody help me with this Thanks Bruce ...Show All

  • Internet Explorer Development A message for Pawel from TETA

    I am developing a VB6 application having a Web Browser control named web1. A simple statement such as web1.navigate http://www.hotmail.com returns Runtime Error -2 (fffffffe). I have IE7 installed on the computer. Application developed on a computer having IE6 installed does not give any such error even when its run in debug mode on computer with IE7. In both cases, OS is WinXP Pro. I have already rectified the problem of ieframe.dll/1 and referenced it to shdocvw.dll Please help. Regards, Vibhu Bansal. I hope someone can help! Everytime I close IE7 I get this message - Microsoft Viscual C++ Runtime Library Program C:\program files\Internet Explorer\iexplore.ex ...Show All

  • SQL Server Member.FetchAllProperties Error

    I get "System.NotSupportedException: The method specified is not supported by the current provider." AdomdClient v8, VS 2003, SQL Server 2000 What's the cause of this and is there any way around it Hi Mary. Thanks for this. It worked. We used the second technique because we need to be generic, i.e., we don't know in advance what user-defined properties will be available. But here's another question. Calling Member.Properties gives e.g., Property Name: MEMBER_KEY, Property Value: 13 Property Name: IS_PLACEHOLDERMEMBER, Property Value: False Property Name: IS_DATAMEMBER, Property Value: False ... Property Name: Allow Input, Property Value: 0 The last one here is one of our user-defined properties. The previous ones are the ...Show All

  • Visual Studio Express Editions RSS Screen Saver

    I've looked and looked but cannot find the rss screen saver project. Hi vio69, The RSS Screen Saver project can be found here http://msdn.microsoft.com/vstudio/express/visualcsharp/starterkit/#rssss Enjoy. Scott ...Show All

  • Visual Studio Express Editions SQL Express Login

    Hello. I was trying to make login to SQL Express not throgh Windows Authentication, but throgh SQL Authentication. Off course that after I was logging with Windows Authentication I was creating a new user and all that stuff. I still get a error message : ------------------------------ Cannot connect to SHAY_DESKTOP\SQLEXPRESS. ------------------------------ ADDITIONAL INFORMATION: Login failed for user 'DNNroot_sa'. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Server, Error: 18452) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=18452&LinkId=20476 ------------------------------ What am I doing wrong ...Show All

  • .NET Development Multiple Project Solution and References

    I have a solution with multiple projects. The main project is a MdiContainer in which forms from other projects are loaded. The main projects has references to the other projects. Only when the form is loaded In want to add a button to a toolstrip in the main form. How do I reference to the MDI form. ((FormMdiContainer)( this .MdiParent)).toolStripFormButtons.Items.Add(btn); This works fine in a single project slolution, but how do I use it in a multiple project solution How do I reference to 'FormMdiContainer' Here's a generic example: MDI-child: public partial class Form2 : Form { public Form2() { InitializeComponent(); } public delegate void MdiRequestFromChild2(int optionalargs); ...Show All

  • Smart Device Development MS Access database and VS 2005 .net2

    I'm looking at the feasibility of using MS Access on a Mobile 5 device. Using VS 2005 if I attempt to create a new data source I ca select an access database and the test connection works OK, however when I proceed I get an error "The new connection uses a data provider that is not supported" Theres no error number. Can anyone tell me if Access is supported by Windows mobile 5, .net 2 and VS2005 Thanks Rob Hi Again Sriram, Using Access was something that was requested by a user as they are familiar with the Access product. I realise its possible to use the same SQL mobile file on a device and desktop as a SQL mobile database can now be opened from SQL Server Man ...Show All

  • Visual C# security: password encryption

    hi, in my winows application i'm connecting to database. I don't want to embed the user name and password to the code. i want to take these from a parameter text. So i have to encrypt the username and password before writing to parameter text, and then while connecting database i will decrypt them. Could you suggest me an algorithm or technique... thnx.. Hi, I'd propose not to put too much effort into it because the bad guy just would need to put a network sniffer on the wire to get the cleartext password when you login to the database. Thus, a simple way is to put the username/password information into a textfile which you protect using windows access rights. Encrypting username/ ...Show All

  • Smart Device Development Failed to open VPC Network Driver error

    I have a fully updated new installation of Windows XP x64, Visual Studio 2005 with SP1 B1, and CE 6.0. I am unable to get network connectivity in the emulator and get an error: Failed to open VPC Network Driver error. Running on a Precision 690 workstation with a broadcom 57xx network adapter.. I verified that the VPC network driver was install (I reinstalled it). How can I diagnose this issue I haven't seen this before. Can you please uninstall VPC net driver and install again http://www.microsoft.com/downloads/details.aspx familyid=DC8332D6-565F-4A57-BE8C-1D4718D3AF65&displaylang=en . Please let me know if problem still persists. -Thanks, Mohit ...Show All

  • SQL Server looping through table tom exec an SP many times

    Hi, If i have an SP called mySP that accepts one parameter @param If I have a table of paramaters with only one column like this: Param1 Param2 .. ParamN How do I do if I want to execute the SP on all the table fields: some thing like this: Exec my SP 'Param1' Exec mySP 'Param2' ... Exec mySP 'ParamN' I want that automatically since the parameters are going to be in a table called myTblParams Notice that I don t want to pass all the parameters to the SP just once but only one value each time I execute the SP since mySP ccepts only one parameter. Thanks a lot for guidelines If I understand you correctly, you want to execute mySP for every row in the myTblParams table. To do this, you could write another sp that has a cursor to l ...Show All

  • .NET Development saving objects to application throwing null reference error

    I am having a problem and I don't know why. I am trying to save a datatable to application state and I cant seem to be able to acheive this. Here is what i'm doing: Sub Application_Start( ByVal sender As Object , ByVal e As EventArgs) Dim sqlConn As New SqlConnection(PubVars.connString) Dim sqlCmd As New SqlCommand("SELECT * from tbl1", sqlConn) Dim allMembersDset As New DataSet Dim allMembersDA As New SqlDataAdapter(sqlCmd) allMembersDA.Fill(allMembersDset, "tbl1") sqlConn.Close() Application("allMembers") = allMembersDset.Tables("tbl1") End Sub When I try to retrieve this table from another page like this: Dim dt As New ...Show All

  • Visual C# Byte[] to bitmap

    I have a problem... I have an access database (database.mdb) where I have an ole-object. In that field there is a bitmap I will have get this field and I get an array of bytes Later, I will get the bitmap of this array: if (!(oStudent.Photo == null )) { if (oStudent.Photo .Length > 0) { System.IO. MemoryStream stream = new System.IO. MemoryStream (oStudent.Photo); stream.Write(oStudent.Photo, 78, oStudent.Photo.Length - 78); Image img = Image .FromStream(stream); //bmp.Save(stream, ImageFormat.Bmp); //bmp = new Bitmap(stream); stream.Close(); } } picPhoto.Image = bmp; On several other websites they say that this code is correct, but still I have an e ...Show All

  • Visual Studio Express Editions How do I plot a graph (with x and y axis) on my form?

    Hi, how do i plot a graph (with x and y-axis) on my form UGH.... About a week ago, my motherboard died and I've ordered another one. Meanwhile I'm running on a 9/11 vintage motherboard, with 1/2 gig of memory. I think this board just corrupted my C# templates and I can't start a new c# project. Normally that wouldn't be a problem because I could uninstall c# and reinstall it and everything would be fine....except my DVD drives are SATA and SATA wasn't around when this motherboard was made, so I have no DVD drives. What I do have is a working copy of this in VB..... If that would do any good and the architecture of this sure can be adated to real time. ...Show All

©2008 Software Development Network