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

Software Development Network >> Alexander Schwerdtner's Q&A profile

Alexander Schwerdtner

Member List

DaveKStl
Camenwolf
Koray Samsun
Jehan Badshah
chrisc12345
Narcís Calvet
tcreevan
Spanglishone
Matt Falzon
Kevin Dente
WalangAlam
cbpd86
narend
Yoni Rapoport
Vesigo
B Langston
Mark A. Richman
INKHAND
Tryin2Bgood
Alessandro Moacyr Duarte
Only Title

Alexander Schwerdtner's Q&A profile

  • Smart Device Development RichText control for CF2.0 (VS2005)?

    Hi, Can any one plz tell me if there is any third party control which supports HTML format and which supports to add smileys. I also need a TreeView control which supports background with the image. I hope you can help me with the information. Hi Manav, I created the dll from the native code, inky.dll I used like this: in my CS [DllImport("inky.dll")] static extern IntPtr CreateRichInkWindow(HWND hParent, LPRECT rc); I have also used System.Runtime.InteropServices; I got this error for HWND and LPRECT. the type or namespace name HWND could not be found (are you missing a using directive or an assembly reference. one morething how ca ...Show All

  • Visual Studio Express Editions Ok

    Is there a way not to install a net framework 2 on the computer where the published program will be installed. A need a way how tell the compiler the files that need like system or system.data etc... but not installing the net framework Hi Damjan, 70MB is trivial, not even a couple of decent sized tiff images, these days. Drag your customer into the 21st century. You install .net once, then you can run millions of your 1k programs, locally, on his network, the www, wherever. If he is too dim to see the benefits, or doesn't need that, then find another customer, or program in something else. Best wishes, Ray ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Can't deploy to Xbox 360 from GSE

    All Apologies but this is a repeat post from 31-Jan buried inside another thread that appears to have died. I can't push code to my Xbox 360 from GSE.  This issue has been reported by other people and their problems boil down to either having entered the 25-digit code incorrectly or, in one case, that their router didn't properly support UPnP. I've regenerated, accepted and reconfigured the key *many* times, making sure I don't have any 0's, 1's, 5's or 8's in the generated key to avoid confusion.  I understand this is a one-time key so I'm not reusing an old key.  I am most definitely getting the key right and choosing accept, not cancel. I have downloaded and installed Windows Media Connect (I'm running Windows ...Show All

  • Visual Basic Efficient programming of repeating tasks. Possible?

    Dear all, I have a form with picturebox (picInput1) and a number (say, 20) of radiobuttons rbLut1...rbLut20 that, when clicked, will impose 20 different LookUpTables (LUTs, or palettes) onto that picturebox. Luts are derived from other picture boxes that exist: lut0....Lut20. What I made (see below) works but it is typing-inefficient AND I don't like it because it is not elegant: '***Start current code:------------------------------------------------------- Private fyCurrentLut As String = "Lut1" Public Sub rbLut0_CheckedChanged(ByVal sender As Object, ByVal e As _ System.EventArgs) Handles rbLut0.CheckedChanged, rbLut1.CheckedChanged, _ rbLut2.CheckedChanged, ............ rbLut20.CheckedChanged 'KJ aug 2006. Det ...Show All

  • Visual Studio Team System Symbolic Links in TFS?

    Hi, is there something like symbolic links in ClearCase in TFVC A symbolic link is a directory entry whose contents is a character string that specifies a full or relative pathname. The link acts as a pointer to a file or directory (or another symbolic link ). Many UNIX functions and commands “chase” this pointer: a reference to a symbolic link becomes a reference to the object at the full or partial pathname specified by the link. (Taken from CASEVision /ClearCase ) In the CC database I want to migrat they are used to aviod redundency of common sources. Does anybody know Tom There is no facility within TFVC to "share" files between projects or Team Projects, either through the mechanism in used in VSS or throu ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Can one fill a polygon with a transparent color

    Hi all. I'm currently writing a GIS application in which I need to draw Polygons and fill these with a transparent filling so that the user to some extend is able to see the Map beneath the polygon. Is this in any way possible. Thanks Yes, this is perfectly possible - but it's very difficult for me to provide you with much more information as you've not given us much detail to work with Which languages/API's/technologies (e.g. FixedFunc or Programmable) are you using Basically it'll come down to using blending - under D3D9 you'd set the SRCBLEND and DESTBLEND render states and enable alpha blending. You can then provide constant, per-vertex or per-pixel alpha values that can vary the level of transparency. The SDK docume ...Show All

  • Windows Forms What is the lifecycle of a Winform form? And how can I tell when it's fully rendered?

    Hi, Back in the old VB6 days, there was a Form Lifecycle list of events that fired. I can't find that for vb.net (05). I found something anecdotal* but it wasn't complete enough to answer my second need: How can I tell when a form is fully rendered *I found this lifeycle list: Resize Move Load Layout Activated * at this point, form is not fully rendered Paint * form is rendering controls at this point. Closing Closed Deactivate Hello All. Mr.Analogy: If Shown does what you want, then it's all good. Keep in mind, though, that Shown only fires once, when the form is shown for the first time, and does not fire again. Also, if the form is really crowded, Shown will still fire before the form is finished ...Show All

  • Visual Studio Express Editions Running a shell command..

    Hi, I'm having troubles with running a shell command. I'm using this to initiate an existing remote schedule on a domain controller. The tool from which the shell command is run is used by helpdesk people (with no rights to start a scheduled task on a dc). Now, I started by using the schtasks.exe under an account with the right permission. This doesnt seem to work. Then I thought heck, I'll use runas.exe from MS and start the schtasks from there.. Nada too since passwords are not allowed by default. So after searching around on the net I found this tiny app sonur.exe which can be used in conjunction with runas.exe. It basically allows poking the password in the command line together with runas.. So, you get something like this: runas ...Show All

  • SQL Server putting data into table B from table A without using a cursor

    on SQL Server 2005, no SP. Currently using a cursor in a stored procedure to retrieve data from one table and to put it into another table. like so: declare @HTR money declare @Uniqueid varchar(15) declare cur_HTR cursor for select uniqueid, sum(hours_to_resolve) as thtr from com_trail_helpdesk_module group by uniqueid open cur_htr fetch next from cur_HTR into @Uniqueid, @HTR while @@fetch_status = 0 begin update com_hpd_helpdesk_history set total_hours_to_resolve = @HTR where case_id_ = @Uniqueid and dateasat = @dateasat fetch next from cur_HTR into @Uniqueid, @HTR end close cur_htr deallocate cur_htr ... This is taking about 45 minutes each time to do 21k records. Is there a faster, better way to do this ...Show All

  • Visual Studio Express Editions Save RadioButton Settings "vb Express"

    hi how can i save settings of RadioButton For example: If i have 3 RadioButtons, when i'm select one of them, in the next time when I run my application, the checked RadioButton must be the same that was checked at the last time. Thanks Maybe I forgot to mention, but rbtn1 , rbtn2 and rbtn3 are the names for the settings entries. If you don't use the With statement you'll have to type the attribuition of the values of the settings individually. I only used the With/End With so I didn't have to type My.Settings for the three values. This example should work the same way as with the With statement (it should be more undestandable): If RadioButton1.Checked = True Then My .Settings.rbtn1 = True My .Settin ...Show All

  • Smart Device Development IRDA number bytes sent less than number bytes received

    I am tring to transfer files between 2 Dell AXIM X5 devices using IRDA. When I try to send the same 2048 bytes, the receiving device is consistently only receiving 2045 bytes. Here is the code: here is the code that is sending the data on the sending device: //send data IrDAClient client = null; Stream stream = null; BinaryWriter binaryWriter = null; try { client = new IrDAClient(_serviceName); stream = client.GetStream(); binaryWriter = new BinaryWriter(stream); binaryWriter.Write(buffer, 0, 2048);//buffer is a byte array. In the debugger I paused it here and determined that it does have a length of 2048 } catch(Exception ex) { MessageBox.Show(ex.Message); } finally { if (binaryWriter != null) { binaryWriter.Close(); } if (str ...Show All

  • Visual Basic How to solve the Exception problem? (after Migrated from VB 6.0)

    It is any way to solve the exception problem by direct and faster way Or can I capture the exception is come out from which coding by debug printing or message Since I finish migrated my project from VB 6.0 to Vb.net, I found that a lot of the exception is occur during the program run time. Some of the coding able use in VB6.0 by not error, but since migrated, that coding will cause the exception come. --------------------------------------------------------------------------------------------------------------------------------------   An example as below:- Public Function GetFieldValue( ByRef pValue As Object , ByVal pFieldName As String ) As Boolean On Error GoTo errorhandler pValue = R ...Show All

  • Visual Studio adding a where clause

    I have a crystal report that grabs all the data from the database, MS Access DB, but I need it to only grab the 1 record a user wants. The user selects an item from a datagridview and I want only that item to display in the crystal report. I tried using the selection expert, but there doesn't seem to be any way to pass a DB ID to crystal reports to use in the Selection Expert or Selection Formula options. I'm using C# if that makes any difference Thanks in advance for the help You would add a parameter to the report in which you would pass the value selected. You would then use the record selection expert, choose the db field you are wanting to filter by, and say that you want it when it equals the paramet ...Show All

  • Visual Basic Error BC31019: The specified image file did not contain a resource section???

    Hi, I've just added an icon to my project and set it to be the main icon for the program. However, I keep getting this error message: vbc : error BC31019: Unable to write to output file 'C:\blah\blah.exe': The specified image file did not contain a resource section. I've tried creating the icon in two different programs (which didn't fix it), however when I tried with an icon I'd made with one of these programs before, it works fine. Can anyone help shed some light on this Thanks! I just ran into this as well, nobugz solution above worked for me. Just use any icon editor and strip out any format that is above 256. I had included a compressed version for Windows Vista that was included whe ...Show All

  • Visual Studio 2008 (Pre-release) Application authentication on ServiceHost

    Hi, I am programming a distributed application using WCF. The system consists of one console application implementing the Service Host and some client applications connecting to this ServiceHost and its services. For binding netNamedPipes is used. Does someone know, if the ServiceHost can find out the process name of client apps that are sending messages and using the services This is similiar to the server wanting to get the IP address of the client. This is mentioned here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=727886&SiteID=1 Probably the best way of doing that would be to just add a header to the envelope with the information you need, either with a contract or a Messa ...Show All

©2008 Software Development Network