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

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

Krutika

Member List

Troy Lundin
K_L
airwalker2000
paolob
El Gaseron
CoderD
FS2K
Vladimir Bougay
Siebe Tolsma
PMMS
richmtl
Azrael Shadow
Bernie Quick
MON205
David Cowell
gajar
Kanhaiya
dragoncells
Socrates Kapetaneas
colkeevy
Only Title

Krutika's Q&A profile

  • Visual Basic vb 2500 tcpListener accepting connections JUST FROM ONE ip address

    Hi guys! I've been using TcpListener and TcpClient classes (I read examples from on line help of Visual Studio 2005). I succeeded in making a tcp server that works quite well. Now I want that this server could accept connections from just one and only IP address (that I choose). Does anybody know how to make it I think it's a simple trick but I'm not able... Thanks for any kind of advise! Zingaro. ehm... sorry: *************** 'se la connessione proviene da un altro ip la ignoriamo e restiamo in ' attesa di un'altra connessione *************** this is italian language and it means: *************** 'if connection is from a different ip address we ignore it and ke ...Show All

  • Visual Studio Express Editions Ugh....Driving Me nuts....

    I am in the middle of writing a prog that takes a file within a directory on a HD renames it to the directories name and then places the newly named file on the root of that HD. Here is the code. and I am not getting it.....I would really appreciate your help. Thanks Imports System Imports System.io Imports System.IO.DirectoryInfo Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim dlg As New FolderBrowserDialog Dim FileNamesSelected() As String Dim SelectedFolder As String 'Dim FileFound As String SelectedFolder = Me .FolderBrowserDialog1.SelectedPath FileNamesSelected = System ...Show All

  • Visual Studio Non-installation question

    I didn't know where to post this question. Sorry. Is there an announced release, or an estimated release date, for Orcas I am going to buy new licenses, upgrading from 2003.net Ent Arch to VS 2005. However, I want to know if I should by the licenses with SA. We dont really ever call support, but would want SA for any upgrades that come out within the 2-year period. Thanks Steve Wyatt Thank you Gabriel. SA- Software Assurance, upgrade advantage etc.. Gives you support and the ability to upgrade to a new product within 2 years of purchase if a new version comes out. Being that Orcas is going to come out later this year, we would probably want to buy the SA so that we will get the new version ...Show All

  • Visual Studio Express Editions Reading txt file

    Assuming i have a txt file, how am i going to read certain lines of the file Like, reading the third line or reading from 3 to 7th line StringBuilder would be in the System.Text namespace :-) System.Text.StringBuilder and yes, to write the items in the textbox, you would need to do this: Me.theTextBox.Text = theLinesRead.ToString() ...Show All

  • Smart Device Development I want to create ad hoc connection between Pocket PCs

    I want to send files with my application in pocket pcs I want to use UDP with ad hoc but I am confused about metaphor to create ad hoc connection (if I don't set ad hoc mode in pocket pc) how can I start This should help you http://www.pocketpcmag.com/blogs/index.php blog=3&p=588&more=1 ...Show All

  • Visual Basic Raise SaveFileDialog's FileOK event?

    Let say my application have two buttons, button to open file and save file. When the open button clicked, the open dialog will open and let user select a file, after selected, user will need to click the save button to save the opened file to given (coded) location, I do not want the save dialog to open, instead, I wanted the file to be saved when user click the save button, is it I need to raise the FileOK event of SaveFileDialog or is there any other better way Thanks in advanced. Imports System.io Public Class Form1 Public myfile As String = "c:\test.txt" Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ...Show All

  • .NET Development Help trying to Insert to Access DB with error No value given for one or more required parameters.

    I am trying to delete all the quotes from a csv file and then grabbing each line as a row in Access' database. Right now I am stuck after hours of research about the error: No value given for one or more required parameters. I have tried using @companyName and also the question mark. Here is the code that give me the error: Public Sub InsertLine(ByRef line As String()) Dim dbname = "dbase1.mdb" Dim dbpath = Server.MapPath("access_db") Dim commandStr As String, dbcomm As OleDbCommand Dim conn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _ dbpath & "\" & dbname) conn.Open() commandStr = "INSERT INTO [Contactsdb] ([company ...Show All

  • Audio and Video Development Xbox HD-DVD not playing HD DVD's

    My son who is in the army and has little time asked me to write this. I bought for him for Chirstmas a HD-DVD player for his 360 he installed it and it will play DVD's but when he puts in the King Kong it will stop after the titles or not play at all. He took the one I sent him back and got another one and it's the same problem. Any help would be greatly appreciated. Thanks Westpointdad@hotmail.com Although this is not strictly within the scope of this forum, I'll try to help. Has he tried a different HD disc than King Kong (To rule out a defective disc) Can it play ANY HD at all (To rule out failure of the blue-laser in the drive) Ask him to make sure he uses the usb cable that came with the drive. Also ask if ...Show All

  • Visual Studio Team System TF53010 NullReferenceException from "TFS Warehouse" source

    Each hour there are two TF53010 errors in Event Log. Thanks in advance for help how to resolve the issue. ------------------- THE FIRST ------------------- TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 10/16/2006 7:32:35 AM Machine: SERVER Application Domain: /LM/W3SVC/3/Root/Warehouse-4-128054503400728648 Assembly: Microsoft.TeamFoundation.Warehouse, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Process Details: Process Name: w3wp Process Id: 5140 Thread Id: 884 Account name: DOMAIN\tfsservice Detailed Message: Micros ...Show All

  • Visual Studio Tools for Office Depolyment on Office XP is not working

    i created a simple excel solution and tried to Depoly on machine running Office XP but is not working. i have also installed PIA's for office xp but it is not working. can somebody help in this. The "hooks" required for VSTO solutions are only available in certain versions of Office 2003. VSTO cannot be used with any earlier Office versions because the required functionality was not in those versions. These is stated quite clearly in the VSTO documentation. You can create standard COM Add-ins for earlier versions of Office, but of course you can use only those features available in those versions. You should ALWAYS test against the target version of Office. Certainly NEVER against an&nbs ...Show All

  • .NET Development Visual Studio 2003 with SQL Server 2005

    Could we use the visual baisc.net in visual studio 2003 to connect to SQL server 2005, or other tools If it could, may I have the sample code i believe you can, would be the same connection string and accessibility as you would do with SQL 2000, if you have used it. Take a look at the SqlCommand, SqlConnection, SqlDataReader, SqlDataAdapter classes which allow you to access/use SQL Server within your application http://msdn2.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.aspx http://msdn2.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.aspx http://msdn2.microsoft.com/en-us/library/system.data.sqlclient.sqldatareader.aspx http://msdn2.microsoft.com/ ...Show All

  • Windows Forms ToolTip.Show( string, IWin32Window )

    I'm trying to keep toolTip displayed indefinitely while mouse is over a control. public void Show ( string text , IWin32Window window ) This method is documented to show toolTip "modally" - i.e., keep it displayed until Hid() is called. The doc also states that it "sets" the toolTip text for the control (specified by the argument "window" ) with the arugment "text". I am confused. Is IWin32Window to be the parent window (form) or the target control A related thread's answer suggests it should be the parent form, but that doesn't makes sense as it does not specify the child control to which the method is supposed to set the toolTip text. If the argument is supposed to be the target ...Show All

  • Visual Studio Team System CoreCompile MSBuild-Task ignores redirected environment variable

    Hi all! Since our PostBuild-Events uses an environment variable for xcopy deployment, I tried to ovrride it: <Target Name=" BeforeCompile ">: <!-- override variable, no idea if 'process' is sufficient --> <Microsoft.Sdc.Tasks.SetEnvironmentVariable Variable="SOFTWAREDIR" Value="$(TargetRoot)" Target="Process"/> <Microsoft.Sdc.Tasks.SetEnvironmentVariable Variable="SOFTWAREDIR" Value="$(TargetRoot)" Target="User"/> <Microsoft.Sdc.Tasks.SetEnvironmentVariable Variable="SOFTWAREDIR" Value="$(TargetRoot)" Target="Machine"/> <!-- refresh local variable --> <Microsoft.Sdc.Tasks.GetEnvironmentVariable Va ...Show All

  • Visual Studio Express Editions Tutorial on adding dataset from access database programatically

    Hi, After moving over the 2005 Express I have always used the Add New Datasource wizard from VC#2005e to add datasets but I have run into some problems sometimes. Could someone please point me to a tutorial on how to add a dataset from an access database the good old fashioned way... programmatically Thanks ! Thanks. A couple of Qs Where do I tell the code where to find the access mdb In the place of "connectionstring" What does declare it globally mean How and where do I do this in VC#2005 express ...Show All

  • .NET Development C++ pointer to referenced C# class

    Hello, I have a "solution" where my C++ project is referencing a C# class. The hope here is to be able to call the C++ function from the C# project and be able the retireive an array of the C# class elements. I was hoping I could do this by simply requiring a pointer to the class object in the C++ function call and then using pointer arithmetic to fill the array in a linear fashion, assuming that the C# address was created with a stackalloc of n class members where n is unknown but < m (buffer). First I'm not sure if this works with C# arrays because I think I remember them being non-linear, and second I get a compiler error when trying to create a pointer to the object in the C++ function parameters list. Is there a better wa ...Show All

©2008 Software Development Network