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

Software Development Network >> Andreas Wickman's Q&A profile

Andreas Wickman

Member List

rfreire
NewUser06
Alendar
JDeas
buguyaga
Jayplus
Open Source Pong
introne
Derrick Ryan
::BulletMagneT::
Arul Ram
SunilKannan
KVS
Drak Swordsman
Robert Q
BillKa
omega007
EasyJeans
VisualBasicGuruWannabe
jagdishsingh
Only Title

Andreas Wickman's Q&A profile

  • SQL Server SQL Authentication and SQL Express

    (FYI - the Search box throws a scripting error when I type in it) I see in SQL Express Manager that I can connect using either Windows Authentication or SQL Authentication. Is the SQL Authentication for use with SQL Server 2000 and perhaps the full SQL Server 2005, but not for SQL Express My product uses SQL Authentication with SQL Server 2000; I am testing my product with SQL Express, but it fails on the authentication step: Event Type: Failure Audit Event Source: MSSQL$SQLEXPRESS Event Category: Logon Event ID: 18452 Date:  5/24/2005 Time:  3:13:26 PM User:  N/A Computer: XSDEV02 Desc ...Show All

  • Visual Studio Nested Sub Report Feature in CR for VS .NET 2005 Beta 2

    Hi, Is the nested subreport (sub reports within a sub report) feature is supported in CR for VS.NET 2005 Beta 2   When we open a sub report from the main report in the designer, and we right click in the designer of sub report, the sub report menu item is disabled and can't be chosen. If it's supported, how Look forward to the answer. Thanks in advance. Hello Keith, I have the same problem like others had. 'Cause of the user requirement, I had to put two subreport on my master report. It's quite simply to do that, but unfortunely, I must 'join' these two subreports like this way: [Master R ...Show All

  • Smart Device Development Self designed Controls- Problems with transparent & double-buffering.

    Hi there, i am searching for a solution of the following problem: I have a simple Windows Application for a CE 4.2 device. It has only a form with three controls: two System.Windows.Forms.Button and a self designed control. On this control I want to paint serveral graphical objects like rectangles or ellipses like this: g.FillRectangle( brush,anyRectangle); g.DrawRectangle(pen ,anyR ectangle); These rectangles change their postions continuous, so i have paint them many times a second. To prevent flickering i use double-buffering. All my rectangles are painted in a b ...Show All

  • Windows Forms I need help with a code

    I'm making a small program for my own etertainment, but I;m stuck on a part and I was wondering if someone could help me out. I have five labels on a form along with a word bank, i have a command button that randomly selects a word from the bank nd places a different word in each label, how can i get my program to detect i ...Show All

  • SQL Server Setup failed - no package <sqlncli.msi>

    I tried to install a sql 2005 desktop engine. This fails with the error: An installaton package for the product Microsoft SQL Server Native Client cannot be found. Try the installation again using a valid copy of the installation package ‘sqlncli.msi’   I used a fresh, new download SQLEXPR.EXE. What shall I do   Thanks for your post, it saved me bunches of time. I removed the SQL items using control panel, then ran CD:\wcu\sse\sqlexpre.exe from the VS2005 media. I'm good to go. Thx again. ...Show All

  • Windows Forms Using the .NET 1.1 com interop in .NET 2.0?

    Hi there, I am having some real major issues with getting an activex COM library to fire events in VS2005 but its ok in VS2003 SO I was searching around and i wonder if its possible to Use the .NET 1.1 com interop in .NET 2.0 My idea is really ... that if it worked in VS 2003 then to make it work in VS 2005 then if i could use the interop com from NET 1.1 (vs2003) then i may have a chance Thanks in advance Ian Thanks.. yes they are.. Infact its a vs2003 app, and i migrated it to 2005. I also wrote another small app from scratch in 2005 and in each case in vs 2005 it never fires the event. ...Show All

  • Smart Device Development At reactivation of running instance: Notice application

    Hello With .NET CF you have only one instance, which is running in the background in my application. How can I get noticed if a user is starting the application again, so normally the first and only running instance will be activated, but in my case it's in the background. How can that instance get noticed that a new attempt of starting happened Thanks a lot Sven Even if the existing instance is in the background, it will still be activated and brought into foreground (with some minor exceptions of course) ...Show All

  • Visual Studio Express Editions Error with CurDir!

    Hi all, please could someone explain the problem i am having. To make this simple when i am using the CurDir property in Visual Basics it keeps displaying the wrong directory. When my excel document loads up i want it to dislpay what directory it is saved in. So i create the function: Private Sub Workbook_Open() Msgbox CurDir End Sub in the ThisWorkbook code form. When i close down the document and go file - open etc and open the file the directory is displayed correctly, no problem there. BUT When i close Excel down completely and double click on the document icon (let say i saved it on the desktop) it loads up excel and my d ...Show All

  • Windows Forms Pixels

    How can I do math operations on pixels.  Such as 16px - 10px and get 6px.  I'm stripping the px and then doing the math but I sure that there is a better way using the unit namespace. Thanks, Bill I think I found what I needed -- LEFT is in pixels Private ui As System.Web.UI.WebControls.Unit Dim Leftpx As Integer = CType(ui.Parse(elem.Get ...Show All

  • Windows Forms Changing a property of a dynamically added control

    Hi, I hope you can help me with this. I don't seem to be able to change the ".image" property of a dynamically added PictureBox. How do I refer to the "myPicture" PictureBox within a Module Private Sub MainForm_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load Dim  myPicture As New PictureBox() myPicture.Image = My .Resources.Picture myPicture.Size = New Size(10, 10) myPicture.Location= New Point(30, 30) Me .Controls.Add(myPicture) End Sub Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click    C ...Show All

  • Microsoft ISV Community Center Forums VBA for Powerpoint

    Hi, I have been asked to modify a powerpoint presentation so that from a series of jpg files, one appears on the screen and then after a specific time period disappears and is replaced by another; this being a continuous loop on one slide only - like a photo tour. I have the following code, but need to get it up and running. Any suggestions: Sub ImportABunch() Dim strTemp As String Dim strFileSpec As String Dim oSld As Slide Dim oPic As Shape strFileSpec = C:\PFS Pictures\beach party *.PNG 'Ex. on a PC: C:\My Pictures\Flowers\*.PNG strTemp = Dir(strFileSpec) Do While strTemp <> Set oSld = ActivePresentation.Slides. Add ppLayout ...Show All

  • Visual Studio Tools for Office inability to check "Register for COM Interop" in VS Tools for Office 2005

    What might I have to do so that the "Register for COM Interop" checkbox under Project-Properties-Compile is enabled for checking After creating a VB .NET project based on an existing Excel workbook, I find this checkbox unenabled. I have Office Pro 2003 installed (done in phases but I believe it is now = complete install) and VSTO 2005. I want to move the bulk of some Excel VBA app code to .NET simply to protect IP (leaving the UI elements in VBA as is). So I would need to call the managed code blocks from VBA; hense I understand I need to use COM interop to get to the managed code. Hello Rondesc, if you want to call ...Show All

  • Windows Forms Nox invasion

    Hi, I was just wondering what type of animal, and why the Nox 3.6 has totally invaded my ecosystem. Thanks  Well I am not sure about this, what I would really like to see is an advanced terrarium and a beginner terrarium. but you know that is only a wish and I know it would take an act of some higher ups to aprove  ...Show All

  • Visual C# How to wrap the capSetCallbackXXXXXX function

    I try the following code: public delegate Int32 capErrorCallback(IntPtr hWnd, Int32 nID, [MarshalAs(UnmanagedType.LPWStr)] String lpsz); public static Boolean capSetCallbackOnError(IntPtr hwnd, capErrorCallback errorCallback) { return AVICapSendMessage(hwnd, WM_CAP_SET_CALLBACK_ERRORW, 0, (Int32)errorCallback.Method.MethodHandle.Value) == 0 false : true; } but the code looks doesn't work, the error cause a NullReferenceException. I am not sure which cause the problem. Could anybody give any advice I solved this problem by using the new GetFunctionPointerForDelegate function in .NET 2.0 ...Show All

  • Visual Studio Express Editions Speed of binary parsing

    Hi, I'm just getting started with c#, but the IDE and .net have made it quite easy so far. What I'm playing with right now is MPEG2 transport stream parsing. This is what I have:             FileStream fs = new FileStream("C:\\Documents and Settings\\Administrator\\Desktop\\New Folder\\nun.mpg", FileMode.Open, FileAccess.Read);             FileStream fsw = new FileStream("parsed.mpg", FileMode.OpenOrCreate, FileAccess.Write);             byte[] payload = new byte[184]; & ...Show All

©2008 Software Development Network