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

Software Development Network >> Lukasz Pawlowski's Q&A profile

Lukasz Pawlowski

Member List

thomasa88
Thomas Greenleaf
jetter
Tobias Larsson Hult
Tutnik
MarkAx
SBD
J. Newman
Petr Bouda
jpoirier
markiemarkie
c0nfig
Adam Friedman
Dio1961
Wild Dog McDog
UQAM
Sandeep Saxena
DGardner
Jereck
Treblent
Only Title

Lukasz Pawlowski's Q&A profile

  • .NET Development How do I insert a node into a document?

    Hi, I've been loking over the net but I never found any ways to insert node into a document that worked or that was doing it from an existing node. I always get that either the reference node was not in context or the node to insert was, it's getting frustrating because it should be simple. Here's my code at the moment: 'get the node given by the xpath Dim refNode As XmlNode = xmlDoc.SelectSingleNode(xpath) 'clone the node Dim cloneNewNode As XmlNode = newNode.CloneNode( True ) 'insert node after that node xmlDoc.insertAfter(cloneNewNode, refNode) Cloning the node make it a fresh new one(or should ...Show All

  • Visual Basic creating drag-able text box

    How to create a dragable text box or button Just like the one at the IDE, but i want it at my program. Thank you. this is the two main methods that accomplish moving my picturebox(PBX) around the form during runtime: Private Sub PBX_MouseDown ( ByVal sender As Object , ByVal e As System . Windows . Forms . MouseEventArgs ) Handles PBX . MouseDown Dim MousePoint As New Point ( e . X , e . Y ) Dim ImagePoint As New Point ( Me . PBX . Left , Me . PBX . Top ) MousePoint = Me . PBX . PointToClient ( MousePoint ) ImagePoint = Me . PBX . PointT ...Show All

  • Visual Studio Express Editions Transparent Gifs

    I'm trying to get some gifs I have to show in a picture box, and have them transparent... But for some reason they still have a white background. Anyone have any tips on how to get the background to be transparent It shows on the form transparent, but now when I run it :/ Thanks in advanced! Depending on who made the gifs and how they were made.... If all layers were merged.. you'll get a white background. In photoshop you have to be careful to say... Merge only the visible layers" of the result will be a loss of transparency. ...Show All

  • Visual Studio Express Editions AppDev - Good Training?

    Hello...has anyone out there completed the AppDev courses in VB.NET If so, how good are they Most books I read make me feel like I am spinning my wheels. Thanks, Brian also try the www.learnvisualstudio.net videos if you haven't already. there are 16 free vids to teach programming. ...Show All

  • Windows Forms Search for a value in a DataGrid Column.

    How do you search for a value in the first column of a DataGrid For example, the first Column of my DataGrid is Called InspectionID. It's a hidden Column. Lets say the InspectionID is 50, I wish to search or scan or interogate the first Column called InspectionID to find which ROW has the value of InspectionID = 50. Then I need to make the DataGrid select that row. Keep in mind that the DataGrid may have 1, 5 or 50 rows of data. You will need to delegate the search to the DataGrid data source. For instance, if the dataGrid is bound to a BindingSource that supports searching ( ie, if BindingSource::SupportsS ...Show All

  • Visual Studio won't install sql server and can't install original c#

    can you cut-n-paste the SQL install logs They're under: %program files%\Microsoft SQL Server\90\setup bootstrap\logs (or something like that) There is no Microsoft SQL Server folder in the Program Files folder ...Show All

  • Visual Basic Replacing and Writing to a .doc

    I have this dee.doc that has a [name] in it i want to replace that with Demetrius and write that line to a new word doc called deee.doc that i am creating...It creates the document but it does not write to the file the info .....what am i missing...any help thanks Dim sr As StreamReader = New StreamReader("C:\dee.doc") Dim doc As FileStream = New FileStream("c:\deee.doc", FileMode.Create) Dim sw As StreamWriter = New StreamWriter(doc) Dim str As String Dim bl As Boolean = False Dim str1 As String bl = False Do While Not bl str = sr.ReadLine() ...Show All

  • SQL Server High CPU utilization on distributor and sp_MSget_repl_commands

    Hi, In SQL 2005 Replication Monitor i was not seeing details for any of the publications on the "Distributor to Subscriber Histroy Tab" so i decided to stop and start synchronisation on this one publication. At this time there were approximayely 20000 undistributed commands. After the stop/start of the distribution agent, i started seeing messages like "x trasactions with x commands were delivered". Then i went and restarted all the other distribution agents using the Replication Monitor. Has anyone experienced this kind of a behaviour The second issue is that our trasnactional replication looked to have caugh ...Show All

  • Visual Studio Any VSS addin sample that works?

    Hi, I have tried to create the sample C# VSS addin described here: http://msdn2.microsoft.com/library/hcdf9zk2(en-us,vs.80).aspx but no event is being trapped. Actually, the COM component is not even registered. Any pointer to a working demo/sample Thanks in advance. O.k, I figured it out by myself. It was becuase of a line of code in my VSS2005 help file. ~IvssEventSample() { // Unwire the connection point (see Init) vssEvents.Unadvise(cookie); } My local copy of msdn has the same the code as above, but This destructor is empty in msdn online and crashing issue disappeared by commenting this ...Show All

  • Windows Forms Control with fallback resources in satellite assembly can not be used with designer

    I have a control in an assembly that uses the following assembly attribute: [assembly: System.Resources. NeutralResourcesLanguage ( "de" , System.Resources. UltimateResourceFallbackLocation .Satellite)] Using this attribute, all resources (even for the fallback culture) are saved in satellite assemblies. In my example, the resources for the fallback culture are saved in the "de/" sub directory underneath the directory with the control assembly. The control assembly itself does not contain any resources. If I add the control to the WinForms Designer toolbox and drag it on the designer surface (e.g. a form)&nb ...Show All

  • Windows Forms Problem with file.delete()

    when i try to delete some file the application throws error the error is this: <b> System.IO.IOException: The process cannot access the file  "C:\Inetpub\wwwroot\LoadingMaps\MapBin\italy.jpg"  because it being used by another process </b> and the code that cause this throw error is this: <b> private void button1_Click(object sender, System.EventArgs e) { string path = Directory.GetCurrentDirectory(); Message ...Show All

  • .NET Development Terminating Processes from a Windows Service Cleanly (c#).

    Hi, Recently, I have created a Windows Service in C#; that calls a process (writen previously in c). It starts fine, however im unable to terminate the process cleanly, when the Onstop() is called.   Process.Kill() works, but prevents my process from shutting down cleanly (loses data - that I need). Ideally I need to use the CloseMainWindow() method... but this does not seem to work within a service (as a service does not run an interactive GUI... and does not take advantage of the WM_CLOSE message)... Is there a way to send the process a signal; to enable a clean termination Any ideas Best Regards Rober ...Show All

  • Software Development for Windows Vista Problems building samples from Platform SDK

    I have installed the "Microsoft Platform SDK" and followed Brian Johnson's instructions ( http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx ) to enable it to be used with "Visual C++ 2005 Express Beta 2", successfully (hooray!). I then wanted to build some of the samples in the SDK. I first tried building in the command line for "Microsoft Visual C++ Toolkit 2003" (which I had previously downloaded), and received linker errors mentioning "cannot open file LIBCMTD.lib". I tried building in the command line for the "... Beta 2" and got a dialog box saying that the file Hcrtf could not be found. I then went back to trying to ...Show All

  • SQL Server "Send Mail Task" Error.

    I setup a "Send Mail Task" task and an SMTP connection objection. I ran the package and got this error: >>> SSIS package "Package.dtsx" starting. Error: 0xC002F304 at Send Mail Task, Send Mail Task: An error occurred with the following error message: "Failure sending mail.". Task failed: Send Mail Task Warning: 0x80019002 at Package: The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. SSIS ...Show All

  • Windows Forms Winforms cannot be resized on low resolution workstations

    Please help guys, I have an app that was built on a high resolition windows workstation, now when I run the app from a low resolution workstation, I can't resize some of my dialog windows... Hi, which dialog windows cant you resize What do these "some" have in common Do they have set FormBorderStyle to FixedDialog etc. Are the more hugh than the screen ...Show All

©2008 Software Development Network