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

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

Shaolyen

Member List

moondaddy
GrandpaB
Carl Daniel
rajeshbhaskaran
FocusedWolf
Amde
Rido
sureshv
Tdotsoulja
alexey.polovinkin
Baji Prasad
tass_flint
georgeduke
David Majors
ottogbg
JustinS
Sean ORegan
Richard_Mason
Dave27
Michael Gibbs
Only Title

Shaolyen's Q&A profile

  • .NET Development Remoting event.

    i have made a remote app. server generate event on client side. it's working well. Now i have redesign remote server under the window service. problem is that it's not generate event at client side by the server. without window service it's running well. we can generate event under the window service . I experienced the same problem and I was unable to send event from windows service. Being run out of time I resolved it by registering event listener on a server. So that each client register its own event listener on server and unregister when terminating. Something like this: class Server { private EventListener _listener;//actually I put array of listeners here public void RegisterListener(EventListener listener) { ...Show All

  • Software Development for Windows Vista Custom Xoml

    I have custom Activities that i had created, one of them is an image picker, that uses an image resource manager, which stores all selected images as binaries How do i go about persisting the manager along with the activity: ImagePicker into a xoml file Thanks One possible approach is to store only image names in the manager and store the actual images in a seperate resource file. At runtime, you manager will look up the image based on a the name. XOML is not designed to store large chunks of binary data. Shelly Guo ...Show All

  • SQL Server Move data to DB2 on AS400 with SSIS

    Anyone writing data to DB2 on an AS400 with SSIS I cannot get the OLEDB destination configured correctly. I can set the destination up with a SELECT sql query, and preview the resultset. What is the error Also, you can't use an out-of-the-box solution against an ODBC destination. You are correct in using the OLEDB for DB2 driver. I use it for my source pulls, but don't use it for destinations so I'm not much help there without knowing your error. ...Show All

  • Windows Forms How do you refresh data bound to a DataGridView

      This should be easy... but I don't know how to do it. I have created a DataSet that is bound to a DataGridView so that the DataGridView displays the data in my DataSet.  If my DataGridView is called dgvStudents, the following code DOES NOT do the job: dgvStudents.Refresh(); I can see the grid itself flash and refresh(), but the data behind the grid is not being refreshed, so new items in the database (added by another process) are not being displayed in the grid. How do you do this   Possibly I should post this as a new thread but I believe I'm running into a similar situation. I have a DataGridView DataSource that is being populated by a List: private void PopulateCatego ...Show All

  • Architecture critique requested on thin Data Access Layer

    I have devised a way to save tons of code by calling stored procs with a single web service method, which takes a DataSet parameter, containing a DataTable with the name of the stored procedure and column names matching the parameter names, and row(0) contents matching the values to be passed. I have further simplified matters by making all parameters varchar, so a call from my client looks like: Dim paramVals As String() = { myString1, myString2 } Dim ds As DataSet = oneWsMethod("storedProcName", "param1,param2", paramVals) ... Dim params As String() = { this1String, thisOtherstring, thirdString } ds = oneWsMethod("anotherProc", "p1,p2,p3", params, usingTransaction:=True) My o ...Show All

  • Software Development for Windows Vista Error 0x8004D00E on SQL Server 2000 + Windows 2000 SP4

    We have an ASP.NET application running on Windows Server 2003 whose database backend lives in a different machine which runs SQL Server 2000 and Windows 2000 Server SP4. Whenever we try to use System.Transactions we get errors. We are almost sure that the problem is related to MSDTC refusing network connections. We tried to run the same thing using Windows Server 2003 in the backend server, and we were able to make it work by configuring MSDTC security using the COM+ console. However, we still need to support Windows 2000 for the backend. There is apparently no GUI for MSDTC security on Windows 2000, and the registry settings we have tried so far did not work. We think this should be a very common issue, but we have ...Show All

  • Windows Forms Displaying a message.

    Hi How can i display a message in messagebox like the following. "Hi, Welcome to .NET World" send me a solution........ Public Class Form1 Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load MsgBox( " Hi, Welcome to .NET World " ) MsgBox( "This is a test" , MsgBoxStyle.Exclamation) Select Case MsgBox( "Do you want another test" , MsgBoxStyle.YesNo) Case MsgBoxResult.Yes MsgBox( "Okay" , MsgBoxStyle.OkOnly) Case MsgBoxResult.No MsgBox( "Bye" , MsgBoxStyle.Critical) Me .Dispose() End Select End Sub End C ...Show All

  • Visual Studio Express Editions syntax code

    to those of you who are familiar with the coding, could you write a simple code example so we can understand,give us simple syntax examples please of; deleete command accept changes command that way those  of us who are beginners can read the syntax and get a better view of how it works. sure. Say for example if you have a datagridview and you bound this to a dataset/datatable as a datasource, and you modify (edit/add/remove) a row/cell of data in the datagridview, it will automatically update the datasource (the bound source, dataset/datatable) then all you need to do is the Update(datatable) command in the dataAdapter, which will then (hopefully) update your database for you with the mo ...Show All

  • Visual C++ LNK2005 on new/delete

    Hi I have a project that generates an EXE which uses MFC, and also links in static libraries that use STL. During the link phase, I get the following errors: GIPSSipVoiceEngine error LNK2005: "void * __cdecl operator new(unsigned int)" ( 2@YAPAXI@Z ) already defined in GIPSSipVoiceEngineDll_debug.lib(AppDialogSet.obj) GIPSSipVoiceEngine error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" ( 3@YAXPAXHPBDH@Z ) already defined in GIPSSipVoiceEngineDll_debug.lib(AppDialogSet.obj) I read a KB article(148652) that indicated that the C-Run time was being linked before the MFC libraries, and this needs to be reversed. So what I did was, as the KB article indicates, look inside AFX.h, and get the ...Show All

  • .NET Development IPHelper in VB.NET 2005

    Hi All, I'm trying to apply IPhelper APIs to VB.NET (VS 2005). In particular, I need to change NIC's Admin Status: toggle it Up/Down. On GetIfTable call I got value 87 (instead of 0). All that works perfect in VB6. Any ideas on using that stuff in VB.NET Thanks, Greg You mean the function return value is 87 If so, that means you have an invalid parameter. Most likely it's the pdwSize parameter (the second one in this function). Chances are that the declaration is not correct. Can you post your API declare statement It should be easy to detect what's going on from there. Note that there are a few differences between how VB6 and VB. NET treat API interoperability. ...Show All

  • Visual Studio Express Editions Compile errors in string.h after upgrade to SP1

    My program worked perfectly before the upgrade. Now I get: ------ Build started: Project: hwa_dwa, Configuration: Debug Win32 ------ Compiling... configure.cpp c:\program files\microsoft visual studio 8\vc\include\string.h(136) : warning C4002: too many actual parameters for macro '__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX' c:\program files\microsoft visual studio 8\vc\include\string.h(136) : error C2144: syntax error : 'char' should be preceded by ')' c:\program files\microsoft visual studio 8\vc\include\string.h(136) : error C2144: syntax error : 'char' should be preceded by ';' c:\program files\microsoft visual studio 8\vc\include\string.h(136) : warning C4091: '' : ignored on left of 'char' when no variable is ...Show All

  • .NET Development Access assembly from another computer?

    Hi, I have an assembly on a server and it is registered in the GAC on the server. How can I make a referende to this from an assembly running on another computer Thank for the help! Best regards Kim ...Show All

  • Software Development for Windows Vista Where is EventSinkActivity ?

    First of all I'm new in WWF. I was reading http://www.dennispi.com/2005/09/local-communication-servic_112803113054978800.html . There and more places i saw references to EventSinkActivity but I didn't find it in my system (I'm using Visual Studio 2005 with Windows Workflow Foundation installed). Can anyone tell me why Thanks. ...Show All

  • Visual Studio Express Editions A little help is needed for getting started...

    I tried to search the previous posts, but couldn't find any help. Could you tell me the exact orders what to do start a new project I'd probably try some C-stuff before going to C++. For example if I want to copy-paste the following code to the editor, and make it work, what to do #include <iostream.h> void main() { cout << "Hello world!"; } Probably new->win32 console application, but what next Or if you could give me a link for a good tutorial for Visual C++ Expression Edition, I would highly appreciate it. Sorry for being a n00b, but I just need this information for getting started. Thanks. ok, so it's probably my lucky day:) well, I tried to make this one: #include <iost ...Show All

  • Visual C# execute program

    How to execute "msiexec /I ...." i tried through Process.Start, but it doesn't work System.Diagnostics.Process.Start(unistall); error: O sistema nao pode encontrar o arquivo especificado traduction is like "the system couldn't find the specificated file" i'm sure i'm getting this error because of the parameters after de path ! ...Show All

©2008 Software Development Network