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

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

KayaksTheAtlantic

Member List

Lakshman
Ken Popkin
JoeGeeky
Sri Harsha Kasi
CrazyNun
Sugarmag
kobusVB
Faisal_Malik
Matthew Haigh
Jordan-Hoff
Stewart_Whaley
breedlings
shade29450
Fudd
saktya
H a t e m
GR1206
myDisplayName
Feitlebaum
Erasure
Only Title

KayaksTheAtlantic's Q&A profile

  • .NET Development How to use System.Net.Mail.SmtpClient via SSL and Authentication?

      Below is my code, and is just blocked there. There is no any error message. '=============================================>         Dim msg As String = "---"         Try             Dim strAddress As String = " xxx@xxxx.com "             Dim sm As New SmtpClient(Host, Port)             With sm               &nbs ...Show All

  • Visual FoxPro Date problem in VFP 6.0

    Hello! Huh, I currently have field named 'fine' in my DB. It's used to store fines. There two other fields, 'rent-date' and 'no_of_days'. The first one stores the date on which the rent of a book starts and the second one stores the number of days the book is going to stay with the borrower. Well, I would like to know how can I calculate the fine. To calculate it, I must find by how many days the due date has been "excessed" and then multiply it by a fine of 10 per day. I must do it without adding a 'due_date' field. Can anyone suggest a piece of code I have tried using the date functions...but I have messed up everything. ...Show All

  • .NET Development How to Ping a Server in .net 2003

    Hi, I'm writing a VB app that needs to test for a valid network connection to a server before connecting to a database, and executing a stored procedure on that database. I knew how to ping a server from its DNS name in VB6, but have no idea how to do it in .net - I'm confused by all the objects in the system.net namespace (sockets, addressfamily and so on). Any simple tutorials or sample code would be much appreciated. I'm not dot net framework 1.1 (vs.net 2003). Thanks, Jazza In VS2005 we have a ping class in System.Net.NetworkInformation. In VS2003, you can create a raw ...Show All

  • Windows Forms Get Visual Studio 2005 IDE Style in your Apps!

    I was browsing around the VS2005 directory and messing with things... when I came across something very interesting. I was able to find a bunch of controls (some working, some not), including that really cool VS Tab control! The tab control and about half the others all throw errors, but I'm working out the kinks and will return with a sample as soon&n ...Show All

  • Microsoft ISV Community Center Forums What version of Team System do EmpowerISV members get?

    Current MSDN Universal subscribers get a free upgrade to their choice of one of the Team editions of Visual Studio 2005 when its released.  What about current EmpowerISV members   And what will future members get   I'm planning on joining the program, but I want to be sure I know what my team will be  getting long-term, especially as it relates to Visual Studio Team System. Hi Tim Do you remember who you spoke to at MSDN   As I've spoken with a number of people who just transfer me around an are clueless when it comes to Empower. Would you be able to PM me with the comfirmation email ...Show All

  • .NET Development CoCreateInstance is called in VS 2005 and Multithreading, Urgent help !!!

    Hello folks or guys from MS can help, My code structure like the following using VC++ : CIrDlg::OnInitDialog(){ ..... m_pWaitForMessageThread = AfxBeginThread(WaitForMessage, this ); //create a thread ..... } ClrDlg::WaitForMessage(){ AxCOM::Class2 * pObj = new AxCOM::Class2(); //AxCOM is managed component; hRes = CoCreateInstance(clsid,NULL,CLSCTX_ALL,iid, reinterpret_cast < void **>(&pObj)); pObj->Logon(user, logon) } Error message:An unhandled exception of type 'System.AccessViolationException' occurred in Unknown Module. Additional information: Attempted to read or write ...Show All

  • Visual Basic returning values from a listbox

    I am new to VB and I am trying to solve what is probably a simple problem. I have a listbox that is populated by parsing a delimited text file. The listbox is filled with temperatures that have been sampled by a sensor every 10 minutes during a day. This gives me 144 samples per day. What i need to find is the following: The minimum temperature, the maximum temperature, and the average temperature. If I knew how to retrieve the values (temps.), I am sure I could perform the math. How can I get this information This is something you should do when populating the listbox. Because you are iterating throu ...Show All

  • Visual Studio 2008 (Pre-release) 3D interactivity in XAML?

    Is possible to achieve interactivity with user through 3D surface in XAML (example: click on button on 3D surface, etc.) Using Vista CTP Sep 05...  Drew is correct - the Visual Brush is a read-only look. We've succeeded in (relatively easily) do some level of interactivity in the 3D content (e.g., selecting an item causes a listbox item to be selected in the corresponding 2D listbox which then updates the Visual Brush or selecting an item causes the item to transition to a 2D area and then we make the 2D elements visible for interactivity). ...Show All

  • Visual Studio Express Editions Opening Teacher Starter Kit for VB

    I downloaded and am trying to run the Teacher Starter Kit for Visual Basic. When I try and open TeacherStarterKit(VB).vsi, it gives me this error: "One or more content items contained within the .vscontent file cannot be installed because the correct version of the content installer component cannot be found. Contact the author of the content file for information about which installers and versions are required." I have Visual Studio .NET 2003, and not Visual Studio Express. Could that be the problem Thank you, Jonathan I have the same problem. Im new, i just downloaded ...Show All

  • Windows Forms Make really useful DataGrid at last!!!

    I seen DataGrid in NET Frameworks 1.0, 1.1 and 2.0. They all has the same problems which still not resolved: 1. they are slow. actually they are VERY SLOW at rendering! Try put about 10 columns and 1000 rows and scroll or select a range... And the new NET 2.0 DataGrid has features that will kill any CPU at once - automatic column/row resize&n ...Show All

  • Visual Studio Team System Extending Project Portal with Custom Web Parts

    I am trying to extend the project portal by creating custom WSS web parts. I have seen a few posts saying that it's possible to create web parts for WSS SP2 using VS 2005. However, I can't find any concrete examples. Are there are samples which I could study in order to understand how to create custom web parts using VS 2005 Thanks in advance. Here are some relevant links for this topic of personalizing with custom web parts: http://msdn.microsoft.com/vbasic/reference/asp.net/default.aspx pull=/library/en-us/dnvs05/html/webparts.asp http://msdn.microsoft.com/msdnmag/issues/05/09/WebParts/def ...Show All

  • .NET Development Storing asian text in sql server express using sqlclient

    I have a problem storing Chinese text in an sql server express 2005 database which runs on a western version of XP. There is no binding in my app. The data is typed in a user form and in a button_click event stored in a table using the command object of the sqlclient, executing sql statements like insert or update. Everything's fine, except that Chinese text will not be stored in the tables correctly, instead of the characters I only get question marks. In the sql server express managing tool, I am not able to type in Chinese characters into the fields directly either, but I am able to copy and paste them there. That way the Chines ...Show All

  • Visual C# remove specified character [] from string

    Hi, I need to know How can I excluding any characters of a string except a specified set of characters defined by Char[ ]. Example: if I have Char[ ] x = {..,..,..,.........}; string y; and y is a mixture of characters in x and other characters not in x so how can I return a string z that contains only the characters belong to x and excluding all others Thanks in advance for any help. Aya. Some self-explaing code: public void ExcludeCharacters( string y, char [] x ); {     StringBuilder buffer = new StringBuilder( y.Lenght );      & ...Show All

  • Software Development for Windows Vista MMDeviceapi

    Hi all, I'm trying to compile some sample codes from the white paper. The sample codes enumerates the audio end points and print out the display name. I've included mmdeviceapi.h and propkey.h but got failures. The following are the linking errors error LNK2001: unresolved external symbol _PKEY_DisplayName error LNK2001: unresolved external symbol _CLSID_MMDeviceEnumerator error LNK2001: unresolved external symbol _IID_IMMDeviceEnumerator Can anyone tell me what's wrong with it Do I need to include more files Thanks in advance same problem, but easy solution hResult = CoCreateInstance( ...Show All

  • SQL Server SQL Express Exceptional error

    Hi, I have this exceptional error when I am accessing SQL Express using MS SQL Server Management Studio Express. Below are the versions I am using. Microsoft SQL Server Management Studio Express 9.00.1399.00 Microsoft Data Access Components (MDAC) 2000.085.1117.00 (xpsp_sp2_rtm.040803-2158) Microsoft MSXML 2.6 3.0 4.0 5.0 6.0 Microsoft Internet Explorer 6.0.2900.2180 Microsoft .NET Framework 2.0.50727.42 Operating System 5.1.2600 Below is the exceptional error message: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text * ...Show All

©2008 Software Development Network