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

Software Development Network >> Crazy Engineer Kid's Q&A profile

Crazy Engineer Kid

Member List

willthiswork89
Buddhika Jayawardhane
OniShiro
UdiAms
neoret
krishna mohan2990
N. Farr
Daniel Hilgarth
Jackuline
tovarish
bhv
ron nash
Marc Developer
AFTIadmin
Joey Bradshaw
DoS
stayanchi
AoggY
FarReachJason
Tinamus
Only Title

Crazy Engineer Kid's Q&A profile

  • Visual Basic Implicit ReDim - Is this a bug ?

    No cracks about the 'bug' is sitting at the keyboard Try this: <Code> Sub Test Dim a(0 To 9, 0 To 5) As String a = FuncX() End Sub Function FuncX() as String(,) Dim Ret(0 To 4, 0 To 5) as String < Code to fill Ret > FunctX = Ret End Function <\Code> When you check 'a' in Test, it has been redefined as Ret: i.e. (0 to 4, 0 to 5) No compile warning ... although I can see where it might be hard to checks this. No Runtime error - except when I try to use 'a' with the full dimensions. Is this a bug or is it intentional and I'm missing something (other than my mind for such poor code consistency). Roger It is not a bug and is the expected (and desir ...Show All

  • SQL Server Aggregation problem in Report Designer

    Hi!!! Please help me. I have the following table structure. -A (name) --B (name) --C (name, total) For example. A { Tom, Sam John } B {Mazda, Audi, Ford } C: { (Monitor, 100), (Telephone, 230), (Mouse, 370)} The corresponding sql select: select * from A left join B left join C Retrive obvios result: And now I have desing report with the following structure: 1) Create list element (A_List) and use detail group to grouping data by A.name in it. 2) Then I use 2 another lists and placed it in A. Now I want get the textbox = Sum(C.total) in the A_List area. It is obvious that ealier represented sql select make cartesian product (AxBxC) of A,B,C tables. And now I have multiple record for single row fo ...Show All

  • Visual FoxPro Help creating a folder!!

    I am trying to create a folder with Visual Fox Pro, using the MD commnad, and i the name of the folder to be the currnet date, anyone has an ideea md date() doens't work lcFolderName = dtoc(date(),1) && or ttoc(datetime(),1) to include time md (m.lcFolderName) You can even do this in one shot: lcFolderName = 'backups\' + dtoc(date(),1) md (m.lcFolderName) ...Show All

  • SQL Server Connecting Database Engine (SQl server 2005 file .*mdf) from Win CE 5.0 platform

    Is this possible to connect do the Database Engine (on sql server 2005 on XP platorm - file *.mdf (not mobile *.sdf)) from win CE 5.0 I tried to do this : ConnectionStringSQLServerCE = "Data Source=WORK_STATION\\SQLEXPRESS;Initial Catalog=dbMachines;Integrated Security=False;Password=Panel;User ID=Panel" ; SqlCeConnectionCE = new SqlConnection (ConnectionStringSQLServerCE); SqlCeConnectionCE.Open(); but I catch error: catch ( PlatformNotSupportedException ex) PlatformNotSupportedException” I noticed that I see server because when I use: ConnectionStringSQLServerCE = "Data Source=WORK_STATION\\SQLEXPRESS" ; zwraca b d typu catch ( SqlExceptio ...Show All

  • Internet Explorer Development get_Document returns NULL in IE7

    Has anyone seen this behavior In IE7, when get_Document is called on IWEBBrowser2, it returns NULL. Basically, I am doing the following in the OnCreate of the explorer bar (my explorer bar is based on an HTML control): CAxWindow wnd(m_hWnd); HRESULT hr = wnd.CreateControl(IDH_HTML_SPLASH1); CComPtr<IDispatch> pHtmlDispatch; CComPtr<IHTMLDocument2> pHtmlDocument; hr = wnd.QueryControl(IID_IWebBrowser2, (void**)&m_spBrowser); if (m_spBrowser) m_spBrowser->get_Document(&pHtmlDispatch); After the above last line, pHtmlDispatch is NULL. This seems to happen only in IE7. What could be the reason And if pHtmlDispatch is NULL how else can I get hold of the document Thanks Reza, One additiona ...Show All

  • Visual Basic Error in Deploying compiled vb project

    Guys, i receive this when i update or add in my project."Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done." The program worked in my computer but when i installed it in another, i received that error. i already checked the adointerop and connection string to no avail. ...Show All

  • Visual Studio Express Editions need help displaying array values

    i have 150 values in an array and i want to display them in order of the highest first and the lowest last. i have no idea how to do this. Help will be appreciated. thanking in advance oli now it works but i have hit a new problem now. it is not saving the values for "arrtotals(150)" after when it gets to the listbox part. Is there a problem in my loop or anywhere else ...Show All

  • Windows Live Developer Forums The issue concerning the multi - people game develpement on MSN

    Can we develope the gane for 3 people by MSN like the pokergame, to play in turn I need some help to slove this problem Plz~~ ...Show All

  • SQL Server Error: SQL Server does not exist or access denied. (Error code 17).

    Hello everyone. I am trying to install Project Server, and i'm having issues with sharepoint, and connecting to SQL: dataserver is running sbs2003 sql2003 and analsys services. server2 is running server2003 is to be the application server for project. ProjectDb is the database that i have setup in sql. username is the account that can control everything as administrer. in Sharepoint is asks for the database server: <<dataserver>> SQL Server database name: <<ProjectDb>> I'm using windoes authentication and then i click ok, and get the error message. I've also see the error message can not find the SQL Server, and access denied. Under ODBC i have installed the sql server information un ...Show All

  • Windows Forms PropertyDescriptor, IsBrowsable and the PropertyGrid

    I have seen this question asked sporadically but have never seen any answers. The abstract PropertyDescriptor class defines an IsBrowsable property that would seemingly be called by the Windows Forms PropertyGrid control to determine whether to display the property or not. This seems reasonable because it is the pattern followed by other PropertyDescriptor properties like IsReadOnly etc. When IsBrowsable is overridden and breakpoints are set in the debugger however, I (and others) have discovered that IsBrowsable never gets called! How then shall we proxy the behavior of the BrowsableAttribute in a custom PropertyDescriptor Are there any workarounds the propertygrid uses a child class of the propertydescr ...Show All

  • Windows Forms changing font properties programatically...

    Hi, Lets say I have coded a column for my dataset containing comment: For Each di As DataRow In perTable.Rows If ( CInt (di(sC1)) > CInt (di(sC2)) And CInt (di(sC1)) >= pSm And CInt (di(sC2)) >= pSm) Then di.Item( "Comments" ) = "Dropped in score" End If Next Now if I want to change how the comment font looks like for example in a different colour or different size, can we do this programatically. Thank you. Sorry for the lack of dtails. I am displaying as part of a data set through a datagridview. As part of my final project app, I am trying to make the conents of the "comments" column change from its normal font to h ...Show All

  • Windows Forms How to: indicate changed value in DataGridView?

    Hi, In a DataGridView I need to indicate cells having a value changed by the user. At the moment I use the CellValueChanged event to set the cell font to bold upon a change of value: private void dataGridView_CellValueChanged( object sender, DataGridViewCellEventArgs e) { DataGridViewCell cell = dataGridView.Rows[e.RowIndex].Cells[e.ColumnIndex]; cell.Style.Font = new Font (dataGridView.Font, FontStyle .Bold); } However the cell should also revert to normal (not bold) if the user happens to restore the original value. Where do I find the original value to compare with Is there a better way Note: the DataGridView's DataSource property is set to a DataTable loaded from a database. Your help will be much apprec ...Show All

  • Smart Device Development IShellNotificationCallback

    Hello all, I want to implement the IShellNotificationCallback::OnDismiss interface, but need some direction on doing so. I have successfully created my notification balloon through SHNotificationAdd, but I need to handle it being dismissed. There is very little information on IShellNotificationCallback on the web, so I'm hoping someone close to Microsoft can help me out. Thanks very much. This forum is primarily monitored by Visual Studio for devices group. Please check this link for more appropriate forum for this type of queries. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=286724&SiteID=1 Thanks Srikanth Bogadapati. ...Show All

  • SQL Server Problem - cannot connect; but I know this should work ! AHA!

    Hello - I've setup SQL Server 2005 from scratch over half a dozen times now. I have remote connection down cold. Install the SQL Server. Run Surface config. Enable remote connection over TCP/IP and named pipes. Set up client alias. Restart SQL Server. (I install for mixed mode every time.) Every time this has worked up till now. Start up SQL Server Mgmt Studio, select the server to login to, enter the sa user name and password, boom, you're in. This time I cannot get in. Connection is denied both for sa and windows authenticated login as Administrator. This is the two line dump from event viewer - the first is an audit problem, the second is the error. Event Type: Failure Audit Event Source: MSSQLSERVER Event Category: (4) E ...Show All

  • Visual C++ Get Value of the Program Variable

    Hi, I want to create an application to get the value of the program variable by given paramter in C++, But i don't know how to get the value of those variables. Suppose i make a function void displayVariableValue(char* varName) { int num=10; //Program Variable ........... ............. } If i pass "num" as a parameter varName, funtion should display 10 without accessing num variable. varName has "num" as its value and there is a variable named "num" in the program how can i display value of num variable using varName. Thanks In Advance In my opinion you have to create a collection which holds the addresses of variables. For example: #include "stdafx.h" #include <string> ...Show All

©2008 Software Development Network