Answer Questions
eeChaosian return argument has an invalid type
I'm having some trouble with a .net remoting issue. Our code connects to an Active Directory DB in which records are stored. There are two spots that we have to do this. First there is a Windows Forms User Control that is sitting on a form. The second, and you're going to love this, is the same forms user control embedded into a webpage through an object tag. The scenario with the control and form works without a problem. We are able to connect ...Show All
Derek Edwards How to view message box in JScript (like msgbox in VBScript)?
wrote in message news:a5527a26-f5cb-4ac1-aaa5-5d3105b558af@discussions.microsoft.com > alert() is not working. I am writing script for Mentor Graphics ePD > 2004. There is no output mechanism built into JavaScript language. Any such mechanism must be provided by the host. E.g. alert() is a method on window object in DHTML. So, consult the documentation for your host, or contact its authors. -- With best wishes, Igor Tandetnik ...Show All
Talyrond Remoting
[English version] Hi can you help me How can I list all the machines in the local network without use the directoryservices dll because this make that the application depend on a Windows 2003 server.... Answer to gisbert85@hotmail.com or to gishac@gmail.com [Spanish] Como puedo hacer para obtener todas las maquinas que se encuentran en red con mi pc local sin usar la dll de directory services, o sea que no importa el servidor, sino ...Show All
Daniel21 How to block managed code being decompiled?
After a lot of efforts, around 6 months of my development work on windows forms and components to bring a better application, I learnt that managed codes can be decompiled (Including Visual c++ 2003 in which I am developing - supposed to be stronger than C# and VB!). This looks like a setback, at least for initial start of my application in the market. I have made a trial run on my own code (95 % managed code with forms and windows compone ...Show All
iConcepts different behavior of cmd file when started by a web Service
Hello, i'm facing a problem that's really driving me mad..... I fear I'm missing some fundamental step .... but I cannot imagine what ... I wrote down a basic WebService to start an executable file (using the shell command). The cmd file by itself works fine ... doing what it was projected for ... (unlock the ScreenSaver of the Server machine with the following instruction : ..... Keybd ...Show All
neil_fl ODBC
I am a relative newbie to the ways of .NET. I have been learning to use Microsoft Visual C# .NET 2005 and have wrestled just about everything to the floor except for database access. I have an extensive survey data library with all the files in dBase IV format. As a long time Delphi programmer, this used to be a relatively straightforward piece of the jigsaw and I have written a number of successful applications that manipulate those files. ...Show All
Trenton1 Sorting datagridview prgramatically
I have built a DataGridView called CUSTOMERDataGridView. The data is bound to a dataSet object set up as follows: CUSTOMERDataGridView.DataSource = CUSTOMERBindingSource CUSTOMERBindingSource .DataSource = HFD_1DataDataSet (SQL Server Database) CUSTOMERBindingSource. DataMember = CUSTOMER (database table) Here is my proble ...Show All
LegolasXVI Visual Studio 2005 NEW Data Access Methods!
Hi, I've been using Visual Studio 2003 for a few months (having come from Java). I had just got used to using datasets and data adapters and stuff, then Visual Studio 2005 comes along and changes it all !!! It's supposed to be easier, but I dunno! My question, is this : - I have just created a datasource called PhonebookDS which is my single oracle table. I dragged a single field over to my blank windows form, and it created a TableA ...Show All
Alisson Cardoso Application server, why?
My manager wants me to know why we should have an application server in our web app. Currently, our web app talks directly to SQL Server. What are some of the pros and cons of having an application server (generally speaking) --SY If your talking about a physical server then there is a lot of advantage. Like Pete said, if you seperare the Application from the Database (2 server) hacker will not ...Show All
Allenr ADO.NET/Access DB Insertion Exception
I’m working with an Access Database and ADO.NET. I have a record insertion routine that works on some tables and not others. The exception is “syntax error in Insert Into Statement” and it’s from an improperly constructed string. Public Function InsertRecord( ByVal NewRow As DataRow, ByVal Table As DataTable, Optional ByVal Update As Boolean = True ) As Boolean 'works NewRow(DataRecords.ciRecordNum) = Ta ...Show All
blumonde Calling unmanaged c++ dll's and lib's into c# using visual studio 2005 beta
Hi, i would like to find out what are the ways to call unmanaged c++ dll's and lib's into c# using visual studio 2005 beta. I have tried many ways like using p-invoke and adding through reference but none of these methods seemed to do it for me. Are there any easier ways to perform this operation using Visual Studio 2005 Beta I would like to create an application that uses certain dll's and lib's from the ogg vorbis libra ...Show All
skittles972001 Visual Web Developer Panel Control does not maintain scroll position after postback
Hi, I have created a web form in Visual Web Developer 2005 Express Edition that is fairly lengthy. At the end of it there is a Panel control with a GridView control inside. The Panel control is configured with the scrollbars property set to Auto. The GridView table is large and the Panel control displays the vertical scrollbar. I can use the MaintainScrollPositiononPostback="true" directive in the <@ Page... tag and this ...Show All
ZJames Ma calling a COM object from c#
I am calling a COM object from c# using this code: string sProgID = "IData.Update"; // get the type using just the ProgID Type oType = Type.GetTypeFromProgID (sProgID); if (oType != null) { try { Object MyApp; MyApp = Activator.CreateInstance(oType); object[] args = new Object[7]; args[0] = args[1] = args[2] = args[3] = args[4] = args[5] = args[6 ] = true; oType.InvokeMember("uf_run_updates", BindingFlags. ...Show All
ManniAT Can someone please explain to me the "One DataReader" Rule?
I've been trying to find a solution to a problem and while searching the threads I came across the above statement and would like to know where this comes from and where it is documented. What I am trying to do is read from one table in a database - using a DataReader and after some processing, store the results in another using a combination of a SqlDataAdapter and a DataTable. Process is pretty much: Dim Connection As SqlConnection Dim Table1 ...Show All
Michael Koltachev MS Unmanaged dll's: can not load side-by-side
I have an bunch of different versions of unmanaged SDK's. Each SDK contains files: 1. unmanaged.h C++ header file: // Unmanaged C++ EXPORT class UnmanagedClass { public: UnmanagedClass(); ~UnmanagedClass(); void SomeMethod(); int someField; ... } 2. unmanaged.lib 3. unmanaged.dll - all SDK dll's have same name regardless to version In my application I have to force SxS execution of these different versions. For ea ...Show All
