Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

Dan Neilsen

@Dan Neilsen
About
Posts
15
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Operaterless Installer [modified]
    D Dan Neilsen

    Hi All, I am using Visual Studio .NET 2003 and wish to create an installer that requires no input from the user. I have managed to get it to be operater-less and get it to install to a default location, however, this does not install for all users on the machine. Does anyone know how to create an operater-less installer that will install to a default location and install for every user on the machine? -- modified at 22:07 Tuesday 6th June, 2006

    Visual Studio csharp css visual-studio tutorial question

  • Scrolling a panel via code (without its scrollbars) problem [modified]
    D Dan Neilsen

    I did this using a datagrid but the same result will apply. Make an inherited user control that inherits the panel and simply set the width of the vertical scrollbar to 0 (and the height of the horizontal scrollbar). This should give you the hidden scrollbar effect that you want.

    C# help question learning

  • Changing DataGrid Data
    D Dan Neilsen

    I currently have a problem in my application which has me stumped. I have a datagrid with four columns that is has a dataview as a datasource which in turn has a DataTable as a datasource "dayDataTable". I have the ColumnChanging event on the DataTable bound. Now, sometimes, when I change the value of a cell, the dayDataTable_ColumnChanging function is not executed. What could cause this?

    C# help question

  • Controlling Two Panes from One Scrollbar
    D Dan Neilsen

    Hi All, I have two multiline textboxes one above the other that both have horizontal scroll bars. How would I make it so that when one scroll bar is moved, the other textbox's scroll bar is also automatically adjusted so that they always line up? Thanks

    C# question

  • How to control two datagrids from a single scrollbar?
    D Dan Neilsen

    Anyone have any idea on how to do this? Even if you have a method to do part of it. ie. how to determine how far the "active" panel is scrolled over or... ? Anyone?

    C# question tutorial

  • How to control two datagrids from a single scrollbar?
    D Dan Neilsen

    Hi guys, I have two datagrids, one on top of the other, and I have removed the scrollbar from the bottom one. Both datagrids are the same width (wider than the parent control) and I would like them to always line up so the question is.. How can I make the bottom datagrid always line up with the top datagrid when the top datagrid is moved by user editing or by scrollbar Thanks in Advance :)

    C# question tutorial

  • DataSet fill problems
    D Dan Neilsen

    The reason that I am not designing the system with direct dbase access is that the system will need to be used in offline situations where the user does a syncronization and then goes out on site with a laptop. The user can make changes offline and then, we he/she gets back online, can syncronize. This was the other reason I was looking at datasets due to their ability to dump to xml and schema (and import from same) which I was using for offline cache. I may look into have a table on the dbase that records all changes to any other of the dbase tables hence, rows updated since the last update could be downloaded easily. This might be a way to handle it.

    Database database help tutorial question announcement

  • DataSet fill problems
    D Dan Neilsen

    ok, If datasets are not the best method, what storage method would I use? Probably best if I explain what I am trying to do... Currently I have a php/javascript contacts management system that runs on my companies intranet that I wrote and it currently has approx 7000 contacts in it. The idea of this system is to be a C# application that does exactly the same as the php version but, faster and easier to use. Now, a lot of my users are not local to the dbase server so I was trying to do the following: - Use dataset that syncronizes back to the sql server at regular intervals - Dump dataset to xml & schema for offline content, which would then load locally...and update from dbase server (To save long load times on startup and allow offline editing) I am fairly new to ADO.NET so I must admit to not knowing all the options available.

    Database database help tutorial question announcement

  • DataSet fill problems
    D Dan Neilsen

    So you are saying that at each syncronization I should do the following? - Update the dbase with any changes using the update method. - Empty the dataset - Re-download the entire table contents using the fill method ot the dataset This seems like an awful lot of work downloading for no reason (especially when the table has over 7000 lines). Is there no way to update the dataset contents with changes that have been made in the dbase. The table has an "id" column containing a unique id and a "datemask" column containing a datetime of the rows last update. Can this not be used to determine concurrancy?

    Database database help tutorial question announcement

  • DataSet fill problems
    D Dan Neilsen

    Hi Guys, What I have is a system that has a single table in a sql dbase and the entire contents of this table are dumped into a dataset via sqldataadapter.fill. Changes to this dataset can be sent back to the dbase fine using the sqldataadapter.update method without any problem as well. Where I am having problems is in the case that a second user adds rows (or alters existing data) in the database, I cannot seem to get this updated data to syncronize with my client's dataset. I am obviously doing something wrong here and I cannot seem to find an example that shows this. Can anyone please give me an example of how to do this? I have wasted a lot of time on something I am sure is very simple. Any help is much appreciated.

    Database database help tutorial question announcement

  • SizeToRect Trouble
    D Dan Neilsen

    I tried that as well Bob but still got the same results :(

    C / C++ / MFC question

  • SizeToRect Trouble
    D Dan Neilsen

    I am having trouble using the ReBarCtrl SizeToRect method which is supposed to resize the rebar control and "best fit" all of the rebar bands in it. CRect pRect; pRect.bottom = 50; int rResult = m_Rebar->GetReBarCtrl().SizeToRect(pRect); rResult always returns 1 (which supposedly means it is working) but irrespective of what values are contaed in pRect, the rebar ends up being only one row high. Can anyone shed some light on this please?

    C / C++ / MFC question

  • Rebar Band Info Problem
    D Dan Neilsen

    Note that this will hide each of the bands. for ( UINT nBand = 0; nBand < m_Rebar->GetReBarCtrl().GetBandCount(); nBand++ ) { ... m_Rebar->GetReBarCtrl().ShowBand(nBand, false); ... }

    C / C++ / MFC help

  • Rebar Band Info Problem
    D Dan Neilsen

    Hi All, I am having issues using GetBandInfo from a rebar control. I am attempting to get the rebar band info for each of the bands in a webbrowser2 control. Here is what I have for ( UINT nBand = 0; nBand < m_Rebar->GetReBarCtrl().GetBandCount(); nBand++ ) { REBARBANDINFO rbbi; rbbi.cbSize = sizeof( rbbi ); rbbi.fMask = RBBIM_STYLE | RBBIM_CHILD; m_Rebar->GetReBarCtrl().GetBandInfo(nBand, &rbbi); } GetBandInfo() is returning a 0 value which means it is failing for some reason but I am cant seem to determine why.

    C / C++ / MFC help

  • How to move internet explorer toolbar, address bar and links bar
    D Dan Neilsen

    Hi All, What I am trying to do is, when a button is pressed in my application, it opens a browser that looks very similiar to the Windows XP F11 Theatre view except that it has the menu and the status bar would be down the bottom. To this end I thought I would a IWebBrowser2 object, find the applicable toolbars in the rebar control and move them to where I want them to go. Here is what I have so far: HRESULT hr = CoCreateInstance(CLSID_InternetExplorer, NULL, CLSCTX_LOCAL_SERVER, IID_IWebBrowser2, (void**)&m_pWebBrowser2); hr = m_pWebBrowser2->QueryInterface(IID_IWebBrowserApp,(void**)&m_pIEApp); long hIE; // get a window handle so we can resize and show the browser window. hr = m_pWebBrowser2->get_HWND(&hIE); hr = m_pWebBrowser2->put_AddressBar(true); hr = m_pWebBrowser2->put_StatusBar(true); hr = m_pWebBrowser2->put_MenuBar(true); hr = m_pWebBrowser2->put_ToolBar(true); // use CWnd to make showing the window etc easy m_wndWebBrowser.Attach((HWND)hIE); m_wndWebBrowser.ShowWindow(SW_SHOWMAXIMIZED); //REBAR CONTROL //Find Rebar Control CWnd* workerWnd; CWnd* rebarWnd; bool foundPersonalBar = false; long childcount = 0; UINT searchState = GW_CHILD; while(!foundPersonalBar) { workerWnd = m_wndWebBrowser.GetWindow(searchState); searchState = GW_HWNDNEXT; childcount = workerWnd->GetWindowedChildCount(); if(childcount != 1) continue; rebarWnd = workerWnd->GetTopWindow(); if(!rebarWnd) continue; childcount = rebarWnd->GetWindowedChildCount(); if(childcount <= 3) continue; foundPersonalBar = true; } At this point rebarWnd is the rebar that I need (ie. the parent to the toolbar, menubar, etc) but I am not sure where to go from here. The problems I am finding are: - I cannot determine which of the child toolbars is the address bar, which is the menu bar, etc, etc - How to move them This will probably be a very easy thing to do but I am fairly inexperienced in this kind of programming. Any help would be appreciated.

    C / C++ / MFC help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups