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
M

Marcelo Emmerich

@Marcelo Emmerich
About
Posts
8
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • DetailsView and dropdownlist
    M Marcelo Emmerich

    Hi Sandraa, I have done this many times. I don't know exactly why it does not work for you (did not try it out), however, I want to show you a snippet of my working code. Besides being C# the main difference is that I use declarative syntax only: First the dropdown declaration in the .aspx file: SelectedValue='<%# Bind("fake_flag1")%>' ID="ddl_test1" DataSourceID="TestDS" DataTextField="someDescription" DataValueField="someID" runat="server"> Next the declaration of the datasource for the above dropdown, which is different of the detailsview the dropdown is in: SelectCommand="SELECT * FROM TEST"> Hope this helps. Maybe the problem in your code is the point in time when you try to set the datasource? Cheers, Marcelo

    -- Marcelo Emmerich Software Development - Computer Graphics - Mobile Computing http://bytethings.blogspot.com

    ASP.NET help csharp asp-net sysadmin question

  • connecting my phone to a web service in a local computer [modified]
    M Marcelo Emmerich

    check this if you have Xp: http://www.learnthat.com/courses/computer/windowsxp/iis/ or this if you have Vista: http://www.howtogeek.com/howto/windows-vista/how-to-install-iis-on-windows-vista/ After you have installed IIS and created a default page, browse to http://localhost from the PC. If it works, try to navigate to http://[IP of PC] from the emulator (using mobile Internet Explorer) and see if it works. If that works too, you have to set up your IIS to work with visual studio instead of the built in web server. Marcelo

    -- Marcelo Emmerich Software Development - Computer Graphics - Mobile Computing http://bytethings.blogspot.com

    C# sysadmin question

  • Read WndProc of other windows
    M Marcelo Emmerich

    Tony_P, this can be accomplished by doing the following: - get the HWND of the application's window you want to hook to - use GetWindowLong to get the windows WndProc and store it - create a WndProc method in your app - use SetWindowLong to inject your Wndproc into the other window - after doing what you want in *your* WndProc, use CallWindowProc to pass control to the windows original WndProc (you stored it previously) Please bear in mind that this is not possible in .NET without using DllImport to coredll.dll in order to have access to certain Win32 functions like SetWindowLong, GetWindowLong, GetWindow, CallWindowProc, etc. Hope this helps. Marcelo

    -- Marcelo Emmerich Software Development - Computer Graphics - Mobile Computing http://bytethings.blogspot.com

    C# question tutorial

  • connecting my phone to a web service in a local computer [modified]
    M Marcelo Emmerich

    are you using the integrated web server from visual studio? That web server only accepts connections from localhost. Try to install IIS or any other web server on your PC and see if the emulator can connect to it. Marcelo

    -- Marcelo Emmerich Software Development - Computer Graphics - Mobile Computing http://bytethings.blogspot.com

    C# sysadmin question

  • How to let the application work with plugins?
    M Marcelo Emmerich

    the easy way to do this is to add an instance variable of the WebBrowser class and let it execute a page containing the JavaScript. See the sample code for WebBrowser.ObjectForScripting on MSDN: WebBrowser.ObjectForScripting This method works fine as long as you can host the WebBrowser control inside a form in your application. Regarding the packaging of your plugins, personally I like the widget concept (as I have to deal with it on a daily basis for a project I am working on). A widget is basically a ZIP file with a certain structure and a manifest file. The manifest file (called config.xml if you follow the w3c standards) points to the main HTML file to execute. Let me know if you need more help or want more thoughts regarding this. Cheers, Marcelo

    -- Marcelo Emmerich Software Development - Computer Graphics - Mobile Computing http://bytethings.blogspot.com

    C# question javascript linux tutorial

  • Trace any copy of files in window xp ?
    M Marcelo Emmerich

    Hey kindman_nb, check the FileSystemWatcher class. You can set this to start watching at the root of your file system to get each and every file. However, it does not tell you explicitly which files were copied, only which files were created, updated, renamed or deleted. So in order to check for copied files you would have to keep a reference of files created and files removed. If you have the same file removed and created elsewhere in a short period of time, it's probably going to have been copied. Of course this only works if the file is being copied with the same name. Let me know if this applies to your case. If not try to provide some more details. Cheers, Marcelo

    -- Marcelo Emmerich Software Development - Computer Graphics - Mobile Computing http://bytethings.blogspot.com

    C# debugging question

  • connecting my phone to a web service in a local computer [modified]
    M Marcelo Emmerich

    harcaype, accessing localhost on the emulator will most probably not work, as it is the emulator itself, not the development machine you are working on. As you've said you have to connect the emulator to the PC by cradling it, enable DMA on ActiveSync, and instead of localhost use the internal IP address of your PC (you can find out which IP you have under network settings or calling ipconfig /all on the command line. Cheers, Marcelo

    -- Marcelo Emmerich Software Development - Computer Graphics - Mobile Computing http://bytethings.blogspot.com

    C# sysadmin question

  • can't use FILETIME while writting idl file .
    M Marcelo Emmerich

    Hi Vijay_k, it's hard to answer this without looking at your code, but is sounds like you are missing a #pragma once or #ifdef... Marcelo

    -- Marcelo Emmerich Software Development - Computer Graphics - Mobile Computing http://bytethings.blogspot.com

    C / C++ / MFC question help
  • Login

  • Don't have an account? Register

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