Software Development Network Logo
  • SQL Server
  • Visual FoxPro
  • Visual C++
  • Game Technologies
  • Visual Studio
  • Visual J#
  • Windows Forms
  • Architecture
  • VS Team System
  • Windows Vista
  • VS Express Editions
  • Smart Device
  • Visual C#
  • .NET Development
  • Visual Basic

Software Development Network >> Patagrieng's Q&A profile

Patagrieng

Member List

Edgar J.
JoeGeeky
Sri Harsha Kasi
SSM
anonymous5000
asheridan
haeh
gv
hattar
venquet
melkonian
Suren...
Ricardo_AG
Auri
ShadeSeeker
nhaas
Brad W
Dlwilliams
Synergy
Nigel Armstrong
Only Title

Patagrieng's Q&A profile

  • Visual C++ windows users

    hi Can you plz tell me how i can get the name of all users on windows os (regardless wheather they are logged in or not). The function which i find is GetUserName() but this gives me the name of current logged user. regards Pankaj Use NetUserEnum! http://msdn.microsoft.com/library/en-us/netmgmt/netmgmt/netuserenum.asp ...Show All

  • Visual Basic VB 2005 Express upgrade from VB6

    I cannot upgrade a VB6 project in VB 2005 Express. The upgrade wizard opens and at the point where upgrading starts it thows and exception: "Unexpected exception occurred during upgrade engine operation: Not able to bind to the source (Exception from HRESULT: 0x8004000A (OLE_E_CANT_BINDTOSOURCE))" I tried the upgrade wizard on a simple VB6 project that contains 1 form with 1 command button on and the same message comes up. The VB6 and the upgrade folder are both on C: I can't find any reference to this error message anywhere in the Knowledge Base or MSDN sites Chris I have uninstal ...Show All

  • .NET Development SetDataBinding replacement in dataGrid

    In translating/migrating some c++ pro 1.1 code to 2.0 c++ express, I get an error that SetDataBinding' : is not a member of 'System::Windows::Forms::DataGridView and wondered what is the equivalent to datagrid0->SetDataBinding(dataSet0,"tbl0"); in a DataGridView Thanks. The only reason I took such a way was I could not get the data source to configure with wizard, but that seemed to go away after a reboot and not opening a project that had manually written connections. Probably my data controls will add with the wizard now that the data source has been set up. ...Show All

  • Visual C++ Can I do this?

    Can I download Visual C# Express Beta 2 after I've downloaded Visual C++ Express Beta 2. I'm using C++ right now, I just don't know if it will work correctly with BOTH of them on my computer at the same time. Visual C# Express and Visual C++ Express can be installed both but only if they are the same version (both beta 2 or both final version). So if you have a beta 2 version installed you must uninstall it first then download the final version of this products (I don't think that you can still download a beta 2 version anymore since there is a final version available). ...Show All

  • .NET Development SqlClient.SqlException

    Hi, All. I am not sure my question belongs to here. I tried to use DAAB(Data Access Application Block) in my project, and got an unhandled system error on system.data.dll. The code broke on da.fill(ds); line as listed below. I have tested the connection string and the stored proc, and they are all working. What else should I do Thanks! public static DataSet ExecuteDataset(SqlConnection connection, CommandType commandType, string commandText, params SqlParameter[] commandParameters) { //create a command and prepare it for execution SqlCommand cmd = new SqlCommand(); PrepareCommand(cmd, connection, (SqlTransa ...Show All

  • .NET Development Database login window popup

    Hi, there, I'm getting a problem when generating crystal report in .net. There is always a popup window called " Database login", asking input for ServerName, Database, LoginId and password. And whatever login id and password I've enterred, It gives me the error message "Logon Failed. Please try again." I've checked the SQL Server Enterprise Manager, the permission of the table I'm accessing has been setted up to public access. It doesn't seem like the problem. So, any advice Thanks in advance. yaduo What is the datasource of your report If it is a dataset with more than one datatable, and you are binding directly to the dataset, ...Show All

  • SQL Server RelativeTime

    Hi, I have a traditional Time dimension, MatchDate (Year - Qtr - Month). I have created a dummy dimension RelativeTime in trying to copy the Cognos functionality. I have tried to created a calculated member: SUM ( PeriodsToDate ([MatchDate].[Year]),([RelativeTime].[Relative Time].[Current]) ) but it results in a errormess: Formula error - cannot find dimension member ("[RelativeTime].[Relative Time].[Current]") ) in a name-binding function. Any idea anyone Hi After modifying the MDX syntax its working fine: SUM ( PeriodsToDate ([MatchDate].[Year]),([RelativeTime].[Relative Time].&[1])) This i ...Show All

  • Visual Basic scaling graphics in a picturebox

    I have a problem were I use a picturebox to display graphics which I build up using somthing like Iam using VB 2005 e.Graphics.DrawLine(Pens.Magenta, xxx + offsetx, yyy + offsety, xx + offsetx, yy + offsety) which all works well I have the picturebox inside a panel to contain the size. I want to be able to click a button to zoom in on the picture. All I can get it to do is make the picture bigger or smaller with Private Sub DoZOOMin( ByVal zoom As Integer ) Try Select Case zoom Case Is = 0 Me .Picture1.Height = Me .Picture1.Height Me .Picture1.Width = Me .Picture1.Width Case Is ...Show All

  • Smart Device Development Using Notification: HTML Image?

    Hi all, I'm using a Notification. When I show it, I would like to display an Image as part of it's HTML content. The application is running in "disconnected mode", and I would like to pull the source image from the file system. 1) Is this possible If so, in the code: HTMLString.Append("<img src='{ }myImage.jpg' width='75' height='75'>"); 2) How do I reference { } from the file system 3) Is there a better way Thanks in advance, Eric I think now i got the problem Actually I dont know what notification HTML uses like is it a temp HTML window or A parser in ...Show All

  • Visual Studio Express Editions Can't Download .NET Framework 2 and VB Express

    I've downloaded the setup file and can run it. It's reached the point where it says it is downloading 60MB of stuff comprising .NET Framework 2.0 and VB 2005 Express Edition but it just sits there with a transfer rate of 0KB/sec. Went to the troubleshooting guide and tried a few things that did not work (the BITS stuff which required Genuine Window checking which did not work - says it is no longer supported or something like that - after downloading the GenuineCheck.exe). Oh yes, I've tried rebooting the PC and tried running setup again at least 6 times without success. I'm feeling lost and a bit disillusioned by the initial " ...Show All

  • SQL Server using a RMO object in a service ?

    Hello, I am trying to use a RMO object in a service that will cause a local database to synch to a remote server. It works fine when I put the code into a winform but when I put it into a service and run it it fails out after loading the properties of the SynchronizationAgent. Can any one point me in the correct direction to resolve this problem Coyotedw It would be great if you can post the error message that you are getting when running the synchronization agent inside a service. -Raymond ...Show All

  • Visual C# how to point to a set of parameters using delegate

    Hello, I wonder if it's possible to point to a set of parameters or values when calling a function with a delegate. I have 2 forms and I pass delegate to call functions from form1. lets say on form2 i have: public delegate bool CallFuncDelegate(); private int generalX, general Y; public bool Call(delegate, int a, int b) { generalX = a; generalY = b; invoke(); } public bool Func1() { int localX = generalX; int localY = generalY; .... } public bool Func2() { int localX = generalX; int localY = generalY; .... } On form1 i will assign Func() to the delegate and call it thru Call(): form2.CallFuncDelegate CFDelegate = new form2.CallF ...Show All

  • Visual C# using ExecCommand to copy in MSHTML

    I am working on an editor using mshtml. I just cannot get cut / copy / paste to work with ExecCommand. All other command identifiers seem to be working well. Here is my code: public partial class Form1 : Form { private static HtmlDocument htmldoc; private bool fireonce = false; // fire previewkeydown only once public Form1( ) { InitializeComponent( ); } private void Form1_Load(object sender, EventArgs e) { webBrowser1.Navigate("about:blank"); webBrowser1.Select( ); } private void webBrowser1_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e) { ...Show All

  • Visual C++ why would operator=() and operator*() conflict in ref class??

    I have some code that boils down to this: ref struct A { A % operator =( const A % other) { return * this ; //<<-- offending line - thinks I mean make "this" an int as defined below: } int operator *() { return _i; } int _i; }; int main( array <System::String ^> ^args) { A a, b; a = b; return 0; } So when I compile this example in VC++ Express 2005 I get the following error: : error C2440: 'return' : cannot convert from 'int' to 'A %' What is the way around this problem If I make A a non-ref type and change the '%' to ' ...Show All

  • .NET Development Web service not responding sometimes

    I am using a webservice to invoke a lengthy process in server. But I am not getting response back to the client always. The process will take around 40 min and the last task is to send an email and log the response. It does all the task including logging the response. Still the response is not reaching at client sometimes. When I try to invoke this webservice it fails to return the response once in 4 times. Are you using asynchronous methods If not have a look at this link. http://msdn2.microsoft.com/en-us/ms228969.aspx Hope this helps. ...Show All

©2008 Software Development Network