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

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

rwerner

Member List

Erik Eilerts
Mannequin666
curtKauf
kgaudana123
Calgon
EPT on XCESS
VioxX
bryanedds
Shruti00
Shalin Dalal
Bertrand Caillet
Chris.Stewart
AndrewVos
JGP
darknessangel
Liran Russo
csname
JohnGalt
Eragon.
Umberto
Only Title

rwerner's Q&A profile

  • Visual Basic File Watch Question?

    Hello all! I'm running a fileWatch on a file. When the the file has a LastWrite, it will prompt a message box. Only looking at that file, and no Sub Directories. Private Sub FileSystemWatcher1_Changed(ByVal sender As System.Object, ByVal e As System.IO.FileSystemEventArgs) Handles FileSystemWatcher1.Changed MessageBox.Show("All Bets Are On", "Bets") End Sub I do have a Store Procedure changing the file, but it's just changing one value on the file. The Message box always comes up twice, right after one another. Why is this Thanks! Rudy Hello all! I'm running a fileWatch on a file. When the the file has a LastWrite, it will prompt a message box. Only lo ...Show All

  • Smart Device Development Irregular Sized Forms?

    How do i create a form in WM5-NetCF2 that only takes up the bottom half of the screen.. e.g. is like more like a dialogue box that hovers over the undeling form without taking up the full screen.. I tried changing the form size "this.Size = new Size(100, 100);" but that has no effect and seems to be ignored.. Thanks On WM forms are supposed to be full screen and NETCF enforces that. You might be able to do something like this though. ...Show All

  • SharePoint Products and Technologies RichHtmlField and RichImageField

    I need to create page layout with several "PublishingWebControls: RichHtmlField" and "PublishingWebControls: RichImageField".Does anybody have information about this Thanks Somebody answers me at the community of Microsoft: http://office.microsoft.com/en-us/sharepointdesigner/HA101741281033.aspx And You'll need to add new columns to the particular page layout content type and then add the new fields on to the page layout. Thanks to alspeirs and LM ...Show All

  • Visual C# Macro Tool - assigning text to windows fucntion keys..how?

    Hello all: I'm new to C# and programming in gereral. I'm trying to create a macro tool, that will display text when a key is pressed. In other words, I'm trying to figure out how to change windows functionallity for keys. For example: If the <key> is pressed (say 'F1'), I would like the text "asdf" to show up in a browser or messenger or something. I tried to find a solution on google, but had no luck. I'm not searching for the right thing. Any help would be much appreciated..thank you! Sorry if this is already posted elsewhere. Vinny From the sounds of it your app wont have focus when these keys are being pressed so wont be informed of them normally... in your case you’ll need ...Show All

  • SQL Server How to: Check if a column exists, and if not, add it?

    Well, actually, as in the title. I have a table. The script should add a column if that column doesn't exist already. I use VB to combine the two queries. So what I want: Query1: Does the column exists: if No, query2: create the column How can I achieve this In SQL Server 2000 and before objects had an object owner, in SQL Server 2005 objects belong to a schema. In common, this is what you see in the already existing tables as "dbo". look in the Information_SCHEMA Tables to see to which schemas / objectOwner your objects belong to. IF NOT EXISTS( SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_NAME = 'SomeColumName' AND TABLE_SCHEMA = 'SomeSchema' AND TABLE_NAME ...Show All

  • Visual C# Utils Class inquiry

    Utils Class appears to be undocumented. MSDN says that it is intended for use by the OS system only (VB compiler) and not supposed to be called directly from C# code. I came across exactly the opposite and when I tried to invoke it in Intellisense it appeared the class has a lot of useful method I badly need. It appears some of them are self-explainatory but others are a bit more obscure. Anyhow, I wound not mind to read more on that class. Where can I find a source Thanks. houtexwebdev wrote: Download Reflector (you should be able to google it rather easily) and see what those utility functions are doing under the hood. Thank you. I think I've had it for some time but never really used. ...Show All

  • SQL Server SSIS <DTS:PackageVariable>

    Just noticed I mis-posted this on public DTS forum so posting here. I'm building packages programmatically. I notice that if I open them in BIDS after building them, then make a change, my package grows in size trememdously. An example today went from 60k to 90k. The reason is that when the package is resaved in BIDS a large section of XML is added with <DTS:PackageVariable> info. I read on http://sqljunkies.com/WebLog/knight_reign/archive/2005/1/13.aspx why this info exists. My question is, since I'm not creating it programmatically, do I need to It seems that it doesn't have to be there for the package to run correctly. Am I safe creating packages that do not have this section of info Thanks! ...Show All

  • Windows Forms Control visiblilty of main form component after the close of pop-up win form

    Dear All, My problem here is that first I have a combo box. Upon selecting a value of the combo box its visible set to false. Then at the same location the visible value of a text box is set to visible=true. The problem is that if the value which is keyed in the texbox is below a certain range then a pop dialog or winform will appear for confirmation of acceptance of the lower value. Upon making the confirmation via the pop-up win form the control gets back to the main form. Now I want the combo box to be visible=true and textbox visible=false when the control is pass back from the pop up winform to the main winform. Thanks. Dear Frederikm, I am using in my formMain myForm form1 = ...Show All

  • Visual Studio More than one startup project?

    Hi everyone out there! Why is the example in http://msdn2.microsoft.com/en-us/library/ms228782.aspx referring to a "collection of startup projects" Shouldn't a solution have one and only one startup project by design TIA, Alan Hi, yes it's possible to set multiple start up projects in VS 2005. To do this, right click on the solution node and select properties. In the property page that opens, select the 'Multiple startup projects' option radio button. You can then select the projects that you want to set as start up projects. Hope this helps, Prasadi ...Show All

  • Smart Device Development Is way to Override the Disabled appearance of ListView Control

    Hi all, is it possible for me to override the appearance of the ListView Control when its enabled property is set to False (disabled) I guess I need to change the colour as when the ListView Control is disabled, its very hard to actually see what value is selected if there are only two entries in the ListView. Thanks Oh sorry. I for some reason thought .Net CF did support this. AlexY describes how to make an owner drawn listbox here: http://www.opennetcf.org/PermaLink.aspx guid=d88b1a1a-a866-4247-a0c8-94ab3c124f63 . ...Show All

  • Windows Forms Inserting items at specific index in listviews (c# .net 2.0)

    I'm having some problems inserting items at specific indices in listviews. ShowGroups is enabled. When running ListViewItem c = new ListViewItem("test"); c.Group = lvStacks.Groups[0]; lvStacks.Items.Insert( 0, c ); the items just appears at the bottom of the list. Though, if i turn off the visualization of groups the order gets correct. I'm not sure how the items in the group and the items in the listview are syncronized. For example, after running the code above, lvStacks.Items contains the item c at the correct index 0, but lvStacks.Groups[0].Items contains the item c at the end of the list. Also, i can't use lvStacks.Groups[0].Items.Insert( 0, c ) because then it will never be added to lvStacks.Items and thus not drawn to ...Show All

  • .NET Development Conditional floating-point precision using aliases

    I have a project where I need to be able to switch between using System.Single and System.Double according to whether I need to optimize for performance or for precision. So far I've solved the problem by putting the following test on top of each source file where I need the switch: #if d_real using real = System.Double; #else using real = System.Single; #endif So I use the real alias wherever I want the flexibility of compiling my libraries either for double or single, and can switch the precision by choosing a configuration where the conditional compilation symbol d_real is defined or not. The real type is only used for those parts where it is beneficial to be able to switch and it used consistently so as to not get any invalid casts. In ...Show All

  • Visual Basic Ascend Or Descend TextColumn Clears the DataTimePicker Value In DataGridView

    I have one DataGridView and there are link and text columns. One of the text columns is embedded with DateTimePicker, which can be used to display and select the time. Whenever i ascend or descend the order of certain text column by clicking on its row header, the displayed or selected time will be gone and hence DateTimePicker will hold empty value. May i know how to solve this I want the displayed or selected value always be there no matter whether the column is ascended or descended. ...Show All

  • .NET Development Problem binding an ssl certificate to a port :-(

    Look this link. I'm running on Vista RC1 as an administrator on my home pc. The certificate has been crafted with makecert for developing purposes. I'm getting error 1312 while registering it to whatever ip/port. I need this certificate to authenticate a WCF metadata exchange. Thank you. Marzullo wrote: I've just tried the save httpcfg.exe under windows xp and it works... since it is completing with a 0 code. What the hell... Why doesn't it work under Vista rc1 Bye.. I think this is a bug or something unpredicted by developers introducing new features like UAC i don't know. ...Show All

  • Visual Studio Tools for Office Question regarding creating, saving and emailing EXCEL document

    Hi, I am using C# and VSTO to populate an EXCEL document from a database. I then want to email this EXCEL document as an attachment to a specified number of users. Everything works except when I try to open the attachement. I receive the following error "The file could not be accessed. Try one of the following: Make sure the specified folder exists, Make sure the folder that contains the file is not read-only, Make sure the file name does not contain any of the following characters.......". I tried sending a file, .xls and .txt, that already exists and the attachment opens up correctly. I think VSTO is not properly closing excel before emailing it. Does anyone have any ideas on how to fix this Below is the code: ...Show All

©2008 Software Development Network