Software Development Network Logo
  • VS Express Editions
  • Windows Forms
  • Windows Live
  • SQL Server
  • Game Technologies
  • Visual J#
  • VS Team System
  • Smart Device
  • .NET Development
  • Microsoft ISV
  • Windows Vista
  • Visual FoxPro
  • Architecture
  • Visual Studio
  • Visual C#

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

berwiki

Member List

Patrick Azzarello
Chan Nyein Zaw
Andreas Hammar
Niklas
Jughead1111
xSteveFx
Mika73
Anonymous12321232
Ernstjan Freriks
jeremys27
Fredm
PetBel
Rusty Miller
Ixnatifual
nadeemmar
Juan M Acosta
ITBOB
SkyPilot007
Jeremy Balliston
lbeham
Only Title

berwiki's Q&A profile

  • Visual Basic Cross-Thread Exception but not using threads!

    My application uses a serial port to receive data from a mag stripe card reader and look it up in a database. I am using VB.net 2005 (Express) and Windows Forms. I can type the data directly into a textbox control, and I handle the control's KeyPress event to get the data. This works fine without throwing any exceptions. When I get the data from the serial port, I handle the SerialPort object's DataReceived event like this: Private Sub MSRPort_DataReceived( ByVal sender As Object , ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles MSRPort.DataReceived Dim myData As String Dim returnChar ...Show All

  • Visual FoxPro Change output alignment in a Field control

    Hi To change output alignment in a Field control, Format - Text Alignment give us just three options: Left, Right, Center. What about if we need to align output with the leftmost position in the Field control and at the same time, align with the rightmost position Is something native for that Thank you. -- Regards, Ana Madrid, Spain www.amby.net ...Show All

  • Windows Forms After printing, focus goes to another form!

    I have a main form that collects some information and then gives buttons to open other forms (like a menu).  The other form collects more information and automatically prints a small print job.  When the print job is printed, control returns to the original form, not the form that called the print job. I need the control to be returned to the ...Show All

  • Visual Studio Tools for Office Odd behavior of UserControl

    Hi All, I'm creating a application on Word by VB.net on VSTO2005. I  made a "Word Template" project and add a "UserControl". I put "Button 1", "Button 2", and "Button 3" on the UserControl. These controls are stacked up each other. I wrote the code follows.     Private Sub UserControl1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load         Button1.BringToFront()         Button2.BringToFront()         Button3.BringToFront()     End Sub Now  it looks "Butt ...Show All

  • Visual Studio Express Editions How can I DON'T use LPCWSTR

    I don't  want to use LPCWSTR. Instead, I used 'char*' in VC6.0 and .Net 2003. But in express 2005 I must use LPCWSTR type   I don't wanna write code only for express 2005. I want standard function and type. How can I compile with char* not LPCWSTR   (Error is occured in function LoadImageW and CreateWindowEx) You can still use char* in VC2005. The methods in question are win32 APIs and hence folks on http://msdn.microsoft.com/newsgroups/  can help you in such issues. Thanks, Ayman Shoukry VC++ Team ...Show All

  • Visual Studio 2008 (Pre-release) Subscribe to DependencyProperty changes in code?

    I have a class called Playlist . Playlist exposes an ObservableCollection called Entries and also exposes a DependencyProperty called CurrentEntry . Now I would like to build a control called PlaylistView that will display the entries in the Playlist and highlight the CurrentEntry . My idea was to build a control based on ItemsControl and have a public property of type Playlist . When the Playlist property is set, the ItemsControl s' ItemsSource would be bound to the Playlist . Entries collection. But whenever the value of Playlist . CurrentEntry changes I need to update update the items styles accordingly. What's the best way to do t ...Show All

  • SQL Server Import variable fixed length file

    I have a requirement to import a file of rows containing fixed length data. The problem is that each row can be one of 5 different formats (i.e. different columns) -- where the "type" of row is indicated by the first two characters of the row. Each row gets inserted into its own table. Could I use a simple Conditional Split to route the rows Or is the split for routing similiar rows Anyways, problems are never this simple... In addition, each "grouping" of rows is related. The "first" row is considered the "primary" row (and gets a row id via IDENTITY, whereas the remaining rows in the group are ...Show All

  • Visual Studio 2008 (Pre-release) Why is everything in Avalon so blurry?

    As my title says its all, everything in avalon seems so blurry, XamlPad is blurry as! :S Sean, see this post by Chris Han in response to your similar post on another thread. ...Show All

  • Smart Device Development Microsoft Device Emulator Community Preview - Won't Start

    Windows 2000 SP4 I have installed the Microsoft Device Emulator Community Preview, with ActiveSync, but am unable to get it to Cold Boot. The furthest it gets is the emulator window with skin launches and then I get an error "DeviceEmulator..exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created." Even with the /c option, I am not provided with any debug information. Your assistance is greatly appreciated. Respectfully, Gary Good news! The next DeviceEmulator release has a fix that will let it run ...Show All

  • SQL Server USING BI Studio how to create Dynamic Connection String in SSIS Package

    Hi I need help for Connection string: Requirement: When we create SSIS Pacakge using Businessinteligence studio.Each Source and Destination or whatever we using the Control required DB Connection. we connect theDB server and Database Table through manaully .Instead of Manual i need dynamic Global varible for Connection String .How to achieve this connection string. because suppose we create SSIS Package in Developement Server Latter We change the Server from Developement to Another Testing Server . at that time we dont requierd for changing manulay.any one pls reply me. Same as in Dotnet we give configiration XML ...Show All

  • SQL Server Debugging a script component task???

    How to debug a Script Component task For instance, I’ve got a Input0_ProcessInputRow procedure and I’d like to see what happen when compiler reach this line: dFecha = Left(Row.Column19, 4) & "-" & Mid(Row.Column19, 5, 2) & "-" & Right(Row.Column19, 2) I’ve put a toogle breakpoint there and then saved but when I run the package to ignore at all. This topic has been already discussed in these newsgrups but I still have doubts. Thanks a lot for any advice or clarification Unfortunately you can't debug script components with breakpoints as you can in ...Show All

  • .NET Development Audio Control

    Please forgive me if this is in the wrong part of the forum, but I am trying to find out how to control line-in mic and cd levels through VB.net Has anyone seen this done or know how I could set about it I'd be greatful for any advice. Regards Check out the following article: Audio Library Part I - (Windows Mixer control) By CastorTiu http://www.codeproject.com/useritems/AudioLib.asp It's in C#, but you shouldn't have much problems using it from VB.NET. Code Project should always the first place you go to find out how to do something complex. Mike ...Show All

  • Visual C++ Redistributing Visual C++ 2005 Profession (final) MFC and CRT

    Hi, Just to let you know some findings about the problems you may encounter. To cut it short, there is something wrong with the manifests for CRT 8.0 and MFC 8.0 from the Visual C++ Redist folder. I would advise not to use them, and taking them from the WinSXS folder of Windows XP instead. I needed to redistribute MFC 8.0 and CRT 8.0 with an application (what an early adopter I am). I did not want to build the .msi deployment package using the provided merge modules because they contain unwanted files ( like managed MFC, managed CRT) which I did not want in my already big package, and also the user should have admin privileges in order ...Show All

  • SQL Server MDX Parameter

    Hi, I want to create an arbitrary datetime picker parameters (StartDate and EndDate) to use it as a parameter in MDX. But, I couldn't do this, because in the filter pane it always expect me to select from the dimension(always associate with the dimension values). But what I want to do is pass a value from the datetime picker (which is not associated with the dimension) and filter the data where the parameters value is satisfied with the Date dimension value. This issue is creating me a lot of headache, please somebody help me! I appreciate any help. Sincerely, Amde I've also s ...Show All

  • Architecture the best orm for .net?

    I would like to know your favorites, i am looking for a free one and with caching capabilities. well I would say to look at the following and weight their pros/cons with your requirements nhibernate gentle.net (2.0 is looking great is is completely based around concepts put forward in DDD by eric evans) wilson O/R (its not free but it has a minimal price, $50 if I remember correctly that includes source) A nice thing about this particular implementation is the sproc support. All come up within the first 5 pages on a google search, let me know if you have trouble finding any of them. Cheers, Greg ...Show All

©2008 Software Development Network