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

Software Development Network >> Dr. Zoop's Q&A profile

Dr. Zoop

Member List

Marlun
guyinkalamazoo2
Katarina C.
AIMDBA
tritontr21
DeamonX
jam281
ShadowRayz
kevlar623
chris441962
pdxJaxon
Peter Doss
Peter Ps
benschi
AFTAB
carllgrant
Alexey Rokhin
DavidCeder
Christina Tabet
erick_the_redd
Only Title

Dr. Zoop's Q&A profile

  • .NET Development ASP.net C#, sending email error-the client was not authenticated.

    Hi, everyone: Hope I can get some help here. I've been working on this problem for two days and checked all the resources, but no luck. I'm a beginner of ASP.net C#. and recently working on an application try to send out emails. Below is my code and error message I got: (I used system.net .mail) ///////// code in web.config < add key = " MailServer " value = " 68.142.198.11 " /> < add key = " EnableErrorLogEmail " value = " false " /> < add key = " ErrorLogEmail " value = " XXX@sbcglobal.com " / > < add key = " ProductsPerPage " value = " 6 " //////code in utilities.cs public static void SendMail( stri ...Show All

  • Visual C++ Openmp programming issue

    I have recently started writing programs in OpenMP.But according to the tutorials and examples the threads that i create should run parallel and at the same time.My serial as well as parallel code takes same time ,Although each of the 2 threads are free for the half of time. Say if i write a program to print hello world it prints (hello world hello world) instead of (hehelllolow ....).A program to calculate sum of an array and multiplication of an array (using omp sections) in 2 separate threads gives the correct final output but time it takes is same as a serial code executed one after another .Why such a thing (I use Visual Studios 2005 . CPU:Core Duo T2300) Please help I am on a project(Btech-V sem-MNIT,Jaipur) ...Show All

  • Visual C++ Question about const_cast

    Here's round two of my silly questions. How come this compiles: ---------------------------------- int main (int argc, char * argv[]) { const int test1 = 5; const int test2 = const_cast<const int &> (test1); return 0; } ---------------------------------- But this does not. ---------------------------------- int main (int argc, char * argv[]) { const int test1 = 5; const int test2 = const_cast<const int> (test1); return 0; } ---------------------------------- Error 1 error C2440: 'const_cast' : cannot convert from 'const int' to 'int' j:\test\main.cpp 4 ---------------------------------- I definitely have the latest version of VC++ Express Edition this time. To begin with the c ...Show All

  • Smart Device Development Monitoring TAPI event

    If I would like to monitor TAPI event, do I need to open the lines I did the following but nothing returns when I test call 001-0001 in the emulator: lineInitializeEx with LINEINITIALIZEEXOPTION_USEEVENT lineNegotiateAPIVersion And then in another thread lineGetMessage with INFINITE as timeout Hi Terence, I also want to know how to catch the TAPI event. I'm also searching for some help about DTMF-tones. Can you help me on this regards, Torpedoke ...Show All

  • Visual Studio Win32Resources parameter of the CSC task?

    When I include this parameter, CSC task fails with error MSB4064: The "Win32Resources" parameter is not supported by the "Csc" task. Verify the parameter exists on the task, and it is a settable public instance property. Is it supported The documentation does not say otherwise. ...Show All

  • .NET Development .Net Remoting And ReaderWriterLock

    Hi, I am working on a .Net Remoting program. In side the remoting class, I need to use a ReaderWriterLock object. But it seems that all method calls from remoting client can easily acquire the writer lock on that object regardless the lock has been acquired before. Here is the code sample public class RemotingExampleService : MarshalByRefObject {     private ReaderWriterLock lockObj = new ReaderWriterLock();     public void  LockObject()     {         Console.WriteLine(lockObj.IsWriterLockHeld); //return true except the first call         lockObj.AcquireWriterLock(-1);     } } I used Singleton r ...Show All

  • .NET Development How can I invoke an EXE from Web...

    Hi ..., I have a ASP.Net Web page in a server.. When access using server IP Address..., On loading of that page I want to invoke an EXE which is in the local system.. Can Anyone help Regards.. Ramesh R. Here's some code: var myExe : System.Diagnostics.Process = new System.Diagnostics.Process(); myExe.StartInfo.FileName = "my.exe" ; myExe.StartInfo.Arguments = "" ; myExe.Start(); Don't expect this to work on the client. It doesn't use .NET. It will leave the exe running in memory in some cases which could come back to haunt you. ...Show All

  • .NET Development How to put all the value of the same Column in to an array in the datatable?

    i know that there a method to put all the value of the same Row in to an array in the datatable but is there any method can put all the value of the same Column in to an array in the datatable Thanks Hi, Or you can use this: DataTable1.Rows["ColumnName"].ItemArray It returns an array of objects... cheers, Paul June A. Domag ...Show All

  • SQL Server SQL Server is waiting for an internal operation to complete

    When saving a database diagram, SQL Server 2005 frequently "hangs" for an indeteminate amount of time and displays the message "Microsoft SQL Server Management Studio is waiting for an internal operation to complete. If you regularly encounter this delay during normal usage, pelase report this problem to Microsoft." For one thing, this is an extremely lame and unhelpful message, as it gives no clue as to specifically *who* to report the problem to (Microsoft is pretty big, after all), and an "internal operation" is sufficiently ambiguous to mean anything. I cannot find any references to this problem, and it happens frequently enough that I'm finding it very difficult to use Management Studio for editing ...Show All

  • SQL Server distrib.exe --- Many instances running

    How many instances of distrib.exe should be running Yesterday I created multiple publications in SQL 2005. without counting, it looks like each publication has its own distrib.exe.... it this the way it is supposed to work Each instance it holding 8k of ram (not a problem right now) but I have many more publications to create... Please let me know if this is the way SQL server works now Hi William, I am guessing you were used to different behavior on SQL2000 where only one instance of distrib.exe is used to service multiple publications\subscriptions to the same subscriber database. The new behavior in SQL2005 is actually the result of a change in the default value of the 'independent_agen ...Show All

  • Windows Forms Somebody plz help, i can't proceed whats wrong

    what is this error how can i handle it invalidCastException was unhandled by user code i added a datetimepicker to one column of datagrid. i got this by downloading generic datgrid user control from web. after i download that control, i got the 'calendercolumn' also as columntype. it is working. but when i am trying to insert one row thru datagridview to sql table' s datetime column, when i am clicking on the calender cell value itself it is giving me the following error. when i click continue it goes back to the cell and i can select the date the date and proceed. the data(including date) is saving properly. hw can i avoid (what eception to handle) to prevent from this error msg to come "to replace this default dialog ...Show All

  • Visual C# Global instance of a class

    I have a class defined in a separate file (general.cs). Where I have 2 declare the instance of this class in order to have a global object I tried 2 declare it in Program.cs or in form1.cs, but I can't see the object in any other form ... Then First of all dont use static and leave it as its what else to do is make a public class with Dictionary Collection and Key With Unique ID, and Value as That class's Object Now whever you create an instance of that class put that class's Reference in that Collection in other helping class, Soother classes can use! And you can delete that from that collection whenever needed. Remeber to make safe class to that Objects, See then you have 10 Threades tryin ...Show All

  • Windows Forms Tabcontrol and pages

    hi i am using TabControl with 03 pages and i would like to just show one page of the 03 page when i click in button.can that be realised because i tryes without success and how if that possible Yes it is the handle to the actual page to enable/disable...but try the other post first w/ hide / unhide. I used this process in a 1.1 version of .Net and could not hide the tabs, the other post may be the right answer. ...Show All

  • Visual Studio 2008 (Pre-release) OneWay exception close the connection

    Hi, If I call a service method that is "OneWay" and it raise an exception, WCF close the communication. Is it correct I found it because sometime my client was disconnected...after review my code I see a bug that raise an exception in "OneWay' method...after fix the bug and no more exception in the method my client work fine. Regards, Alexnaldo Santos What is your exact issue here Is it that the channel throws on subsequent calls to the client channel Is your binding net.tcp Some more details on IsOneWay are available at http://kennyw.com/indigo/130 ...Show All

  • .NET Development OLEDB + SQL

    I'm importing an excel worksheet into SQL Server VIA a Import Procedure i created in VB.NET (2003). The excel worksheet's first column has a mix of Integers and Strings. When I populate the datagrid (which i'm using for testing purposes to preview the data before it is entered into the SQL Server Database), I see the Strings, but I don't see the integers. the strings are int he format of "M00000" and the integers are in the format of "000000". What would be the reasoning to this and is there a way to fix it Things I've tried: Converting and Casting as Paul kindly suggested, its the connection string problem. Please modify the connection string to what Paul had suggested and al ...Show All

©2008 Software Development Network