Jump to content
Xtreme .Net Talk

blabore

Avatar/Signature
  • Posts

    48
  • Joined

  • Last visited

About blabore

  • Birthday 08/01/1977

Personal Information

  • Occupation
    Consultant

blabore's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I'll take a look, Thanks
  2. I have some standard controls (checkboxes, radio buttons, etc.) that are placed above a background that is drawn using alpha blending. The flat style of the controls is set to system. This works great when my app is shown with xp visual styles, but when the classic visual styles are shown, the controls are shown with a white background, not the background color. The only way I can see to get around this is to set the flat style based on the the visual styles being used. Is there a way to determine what visual styles are currently being applied (i.e. XP or something else). Any help would be appreciated. Thanks, Ben
  3. In my form designer for the parent form of MDI application, I've created a context menu. Each of these items has a shortcut (such as CTRL+SHIFT+T) assigned to it. I then used this menu as the dropdown menu for one of my toolbar buttons (the toolbar is on the same form). However, the shortcuts do not seem to work. Is there a problem with using shortcuts this way, or am I missing something here? Thanks in advance, Ben
  4. Might want to look at the API function NetServerEnum, which you can use to find all pc names for a given domain name
  5. Have you tried using SQL's Data Transformation Services (DTS)? It comes with the rest of SQL Server's tools (such as Query Analyzer) and can import/export from just about any data source.
  6. I have the same problem in an application I'm writing. Each MDI child needed to able to load it's own toolbar buttons/menus, and be able to respond to events from these controls. My solution (though it's not really mine, as I've seen it used in other applications) was to create a special interface that all of my MDI child forms would implement. The important methods of the interface include "LoadToolbar" and "ToolbarClick". In the MDI parent form, I then call these methods as needed. For example, before showing a child form, I call the LoadToolbar method, and the child form can then create the appropriate buttons on the toolbar (note it has to cast it's parent form to the appropriate form type to access the toolbar). In a similar fashion, when the toolbar was clicked, I'd call the "ToolbarClick" method to let the child form handle the event whatever way it wanted to (and would pass the appropriate arguments).
  7. Just a guess, but I'd don't think that office libraries are not backward compatible. You developed the add-in with the Word 11.0 library, and when you try to run this on a machine using Office 2000/XP, it's probably going to work, as it has an older version of the same library installed. However, I do believe the libraries are forward compatible (at least somewhat), so unless you're using stuff specific to Word 2003, you could probably just develop the add-in using an earlier version of Word/Office, and it should work with newer versions.
  8. I'm not sure if this really helps, but check out this link: http://support.microsoft.com/default.aspx?scid=kb;EN-US;244167
  9. This might not help you much, but I have some VB6 apps that pull data from dbf files. Here's the connection string I use: "Driver={Microsoft dBASE Driver (*.dbf)}; DriverID=277; Dbq=" & YOUR_DBF_PATH_HERE & ";" It works with ADO in VB6, but not sure about .Net.
  10. I'm looking for a way to run compiled code on the client end of a web application. Back in the days of VB6 I would've whipped up a simple ActiveX control, but it appears the only way you can do that now in .Net is with a C++ MFC control (which isn't worth the effort). Is there any workaround to this situation in .Net? I saw some posts referencing winforms user controls, but didn't see anyone who has actually used one in a web page. Any help would be appreciated.
  11. I created a small utility app that I'd like to give a small group of people access to. Rather than copy the app onto everyone's machine, I'd like to just place it in a shared folder, and have people create a shortcut to the exe file in the folder. However, when I try doing this, I always get the exception "System.Security.SecurityException" when the app starts. Anyone know if there is a workaround for this, or is this just part of running managed code? Any help would be appreciated.
  12. Terminal Server works nice.
  13. Can anyone tell me what type of control is being used in Microsoft Outlook's "Outlook Today" page? Is this another one of their "in-house" controls used for Microsoft applications only? Any help would be appreciated.
  14. Just a start, but I'd try looking for print drivers that can print to a bitmap/other image format. Then use word automation to insert the picture file directly into a word document. You could easily create a Word macro and view the code to see how to do the second part.
×
×
  • Create New...