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

Software Development Network >> Donal McWeeney's Q&A profile

Donal McWeeney

Member List

Larry Smith53314
M. Nicholas
prema.b
Bor
asimsenyuva
Tom25
Pockey
Atul Bahl
JonAkaJon
Tambra
aureole
EwenTweedie
HbH
erikkl2000
pnp
Jerry Brown
Futzy
Dominik Chrzanowski
poruchik_rzhevsky
vjn
Only Title

Donal McWeeney's Q&A profile

  • SQL Server SQL Server vs. XML Configurations

    I have been experimenting with both XML and SQL Server Configurations. Management would really like to go with the SQL Server Configurations, but I seem to be having problems with them. The main goal is to be able to create a configuration for each connection and have every package refer to its specific configuration, therefore in the future we could change say our SA password and only have to update this in a few places rather than for every package. In order to experiment with the problem I am having I developed 2 identical packages, except one uses SQL Server Configurations and the other uses XML. The configurations save the exact same properties. With the XML package I can go into the configuration file and change say the passwor ...Show All

  • Visual Basic form1 disappears

    form1 appears as blank screen when code runs using visual studion 2005 visual basic. code for program me.show() it is blank white. program error occurs, In debug mode when the program breaks due to an error the Designer surface is a blank white. This is because all processing in cluding the forms paint events are brought to a hault. Where do you have the line of code "me.show" ...Show All

  • SQL Server Access Permissions on server scoped objects for login

    We are having problems with the response times from UPS WorldShip after switching from SQL Server 2000 to 2005. I think that the problem can be fixed from the database end by setting the permissions correctly for the user/role/schema that is being used by WorldShip to connect to the server but, I'm not sure how to do it. The Setup Client UPS WorldShip 8.0 running on XP Pro SP2 Connecting via Sql Native Client via SQL Server Login Connection is over a T1 via VPN Server - SQL Server Standard Edition on Windows Server 2003 2x3ghz Xeon processors w/ 4gb ram The user that is being used to connect runs under it's own schema and role and only needs access to two tables in a specific database on the server. What UPS WorldShip see ...Show All

  • Microsoft ISV Community Center Forums Displaying Chinese Characters

    hi all... i'm trying to display chinese strings using the MsgBox...Instead only " " appear on the message box...can anyone help me regarding this issue... Thanks Manu Try the Chinese version Or generate a picture file for the Chinese characters and use it as the background lunaa ...Show All

  • Windows Forms Date Range for Data Grid

    Hello Could anyone please help me. I have a form and a datagrid. I want to attach a query to the data grid so that it displays content between 1 date range and another. Firstly I am using an access database so on the query I use for teh filter I use = for teh date field which then creates a toolbar an a little text box to enter the date. What I need to do is have an option to pull data into the grid using a date range instead. If anyone can help it would be great. Thanks Joe no worries Joe, im glad I could help. It's a bit of a relief for me too since recently been having a bad time giving correct answers! Thanks for restoring faith ;-) yes you can also do what you have stated. Ba ...Show All

  • SQL Server I have same datasource name for all sites, but each datasource points to a different DB

    I have multiple reportprojects on server each report project belongs to a different client. the problem i am having is i am using the same name datasource in all different projects but they all poitn to different databases on sql server. when i am deploying the report project that time it is not uploading the datasource info, on the report server, since all datasources will bemaintained in the same folder on reportserver, thast why it seems it is not uploading the datasource info at all, since it already found the same datasource name on reportserver. I am maintaining the same datasource names thorugh put all report projects, is it possible to keep the datasource info in the project folder instead of datasource folder on reportser ...Show All

  • Visual Studio 2008 (Pre-release) Tcp error 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted

    I have developped an application that call a WCF service Two ChannelFactory<T> has been opened in try block and they are close in finally block. This operation is carried out in a while condition and it's executed 30000 times. while (i<30000) { try { OPen ChannelFactory<T> OPen ChannelFactory<T1> } finally { Close ChannelFactory<T> Close ChannelFactory<T1> } } When i arrive at 2000 calls i have this error : System.ServiceModel.CommunicationException: Could not connect to net.tcp://srv-mpl-int12:4151/ISupplier. Tcp error 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted. ---> System.Net.Sockets.SocketException: Only one usage of each socket add ...Show All

  • Visual Basic Compare graphical data, but not so accurately? In VB

    A friend of yours answered my first question about "Comparing Graphical data", but it was only for completely identical images, that source code will be posted later on. Now I want to know how to compare that graphical data but not so accurately, like, to compare every third, fifth, or whatever pixel in the image Is this possible Here is the source code: Private Function CompareBitmapImages(ByVal b1 As Bitmap, ByVal b2 As Bitmap) If b1.Width <> b2.Width OrElse b1.Height <> b2.Height Then Return False End If If b1.PixelFormat <> b2.PixelFormat Then Return False End If Dim bytes As Integer If b1.PixelFormat = PixelFormat.Format32bppArgb Then bytes = b1.Width * b1.Height ...Show All

  • Visual C++ header problems

    hi, I'm a new visual studio programmer... I installed the boost library, I set the BOOSTPATH I have a poject with sources files and headre files, (that use boost) I have added $(BOOSTPATH) in the Additionnal Include Directories of the Project Property Pages. Fisrt : that BOOSTPATH does not spread in all sources files... I got the message error : "fatal error C1083: Cannot open include file: 'boost/bind.hpp': No such file or directory" and this for all the source files including a boost header file. Second: How do i do (what option , what field ) to include a header file in an another one message error : in header_file.h "Cannot open include file: 'directory1/directory2/header_file2.h': No such file or directory" thank ...Show All

  • Visual FoxPro ActiveX control created in multithreaded VFP COM dll

    I just can't to solve the problem. May anyone say why a MSWinsock control isn't work in VFP COM dll. In common exe this all works fine, but in the COM dll nothing happens, while I invoking Connect method. Really nothing! The State property remains 0 at all. Help if you know If waiting would solve your problem you can use Sleep API or a do while..enddo. ie: declare Sleep in win32API integer milliseconds Sleep(100) lnStart = datetime() do while datetime() - m.lnStart < 0.1 enddo ...Show All

  • Software Development for Windows Vista Perform File Management Workflow in Sharepoint Server 2007

    I had write the following code to perform file location management, such as from one folder to another folder. workflowProperties.Item.File.MoveTo(workflowProperties.Web.Url + "/" + workflowProperties.Web.Folders .SubFolders["Success"].Url + "/" + workflowProperties.Item.File.Name); When i want to move this file from the new folder location to another folder, the problem comes. Do i need to handle the Item Id or whatever i miss Hi Ken, I'm sure you'll get help in a SharePoint forum. See the SharePoint home page , the SharePoint news groups , or the SharePoint support home . Regards, Paul ...Show All

  • Visual FoxPro Foxpro Power!

    Hai Everybody, I jus wanted to have some sort of opinion poll from u people. IS FOXPRO ONE OF THE POWERFUL TOOL AVAILABLE NOW In my opinion its really powerful and very much useful even now i am very much found of it.... Cetin, I have extreme respect for your words and humbly stand corrected in anything you say. For me to pity one evolved-language over another may seem a bit bigotted, as each language indeed has its benefits. My corporate friends are suffering under VB and C++/Sharp for Intergraph here in Huntsville, AL. They engineer very well with these languages. But they might architect better in VFP9, especially if their personalities are prone to hyper-creativity. Their corporate products may be less kludgy than VFP9's ...Show All

  • Visual Basic DLL Creation

    I want to create a DLL for editing HEX Data I want that if it is referenced for editing any bytes you need write this line: WriteB (File , Seek, Byte) File= Files to open with FileStream ( Imports Sytem.IO is necessary obviously) Seek= For moving the pointer in a offset Byte= Byte to write in the Offset Now if i want to edit a byte i need write this code Dim str As New FileStream(OpenFileDialog1.FileName, FileMode.Open, FileAccess.ReadWrite) str.Seek(&H18D, SeekOrigin.Begin) str.WriteByte(CByte("&H" & ComboBox3.Text)) And i want to create a Function in the DLL Imports System.IO Public Class Class1 ' Start Function Public Function Nome_funzione As CallType ......... ...Show All

  • Visual Basic Help with dll

    How would i do these calls in vb.net ////////////////////////////////////////////////////////////////////// // -- MXSock.dll -- // WinMX WPNP Support Dynamic Link Library Header File // Copyright 2004 [Nushi]@[2SN] ////////////////////////////////////////////////////////////////////// #pragma once ////////////////////////////////////////////////////////////////////// // includes ////////////////////////////////////////////////////////////////////// #include <Windows.h> ////////////////////////////////////////////////////////////////////// // Export or Import Switching ////////////////////////////////////////////////////////////////////// #ifdef _MXSOCK_DEV_ #define MXSOCKAPI extern "C" __declspec(dllexport) #else #de ...Show All

  • Software Development for Windows Vista Distributed Transaction problem

    Hi, I'm having problems getting transactions to work correctly in a state machine workflow. Within the TransactionScope activity I have a Code activity that does a couple of database writes, another Code activity that sends out a notification email, and a SetState activity, which I want to be executed only if the rest of the code executes correctly. The WF runtime and DB are hosted on different servers. After fixing a "The partner transaction manager has disabled its support for remote/network transactions" error by enabling the MSDTC stuff on both machines, I'm now getting a new error: "The transaction has already been implicitly or explicitly committed or aborted (Exception from HRESULT: 0x8004D00E)" A ...Show All

©2008 Software Development Network