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

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

Jebat

Member List

max.cn
BilalShouman
Peter Torr - MSFT
Atul Nisar
enric vives
mackenzie 2480
knvdssr
R.Tutus
Yustme
BLueDeViL
RajDas
ryan.rogers
Sal T
tkeller01
Matt DC
4B7
Chintan Jhaveri
Kimo_SPIDynamics
PublicError
miran_mmc
Only Title

Jebat's Q&A profile

  • Visual Basic Problem with Getfiles and Login Information on the source pc.

    I am using the following code to get a list of filenames from a directory on a pc on our network. Dim query As String Dim x As New System.IO.DirectoryInfo( "\\shipping\ShippingC\KEWILL\CSWIN\ARCHIVE" ) 'Dim x As New System.IO.DirectoryInfo("C:\KEWILL\CSWIN\ARCHIVE") Dim s() As System.IO.FileInfo = x.GetFiles( "*.cs" ) Dim a As New ArrayList Dim tn As TreeNode tn = New TreeNode( "Dayfiles" ) TreeView1.Nodes.Add(tn.Clone) For Each dayfile As System.IO.FileInfo In s tn = New TreeNode(dayfile.ToString) 'tn.Nodes.Add(dayfile.ToString) TreeView1.Nodes.Add(tn.Clone) Next Everything works fine as long as I log into the p ...Show All

  • .NET Development problem in DataTable's select method

    I am trying a prototype in which I am using ADO.net 1.1 (VS2003) for data access. I have following table TestGUID: CREATE TABLE testGUID (userid int primary key NOT NULL , rollno uniqueidentifier NULL,  [name] nvarchar(50) NULL) I am trying the followng code:for inserting/update the row in the datatable(idea is to update first if the row is already there and if it is not there then insert a new row)   private void InsertGUIDs()   {    SetAdapterCommands();    for (int i = 0; i<10; i++)    {     try     {      int itemid =  i;      string rollno1 = "00000000 ...Show All

  • SQL Server Performance difference

    Hello, i'm running 7 same HW&SW configured servers with the same load with SQL Ex 2005 SP1 installed. I'm executing SP over 200.000 times a day. And here comes the problem, every server got different average response time, the quickest executes the SP in 1 ms, the slowlest in 50 ms, that's 50x slower! Have you any performance hint, please Thank you. You can set these in the app, but you need to retrieve the output which will include multiple result sets, and several messages. You can also set the parameters when submitting the batch from sqlcmd, but either way works. ...Show All

  • Smart Device Development Cannot connect errors...

    Hello, I am trying to get the Device Emulator Preview setup so that I can test some of the new Exchange Mobile settings on one of the PocketPC emulator images. I was able to install the Device Emulator Preview program and extract the PocketPC and SmartPhone images. I do not have Visual Studio installed on my machine. I am able to launch the Pocket PC image with Windows Mobile 5, but I am unable to get the emulated device to connect to my network. I receive an error that I cannot connect with current connections settings. On the emulator properties network tab, I have the Enable NE2000 PCMCIA network adapter and bind to checkbox checked and connected network adapter is listed in the box below, but it is grayed out. I have tried selectin ...Show All

  • Visual C# CheckListBox select single item...

    hi.. How i can select single item in a CheckListBox... I want to enable it or disable a single item or i want to check it or uncheck it... Thanks in adavance, Vinay You cannot disable individual items like you can a control, but you can prevent item's checked value to be changed by using ItemCheck event: private void checkedListBox1_ItemCheck( object sender, ItemCheckEventArgs e) { if (e.Index == 2) { e.NewValue = e.CurrentValue; } } The above code doesn't allow third item's checked value to be changed. I'm sure you'll find a better way to check whether the item's check state is allowed to change or not (probably through some of item's properties...). Andrej ...Show All

  • Smart Device Development Pass sounds through the phone's modem over the cellular network (PPC Phone)

    Hi I have a question. Can I pass sounds through the cellular network via the phone's modem So for example I dial a TTY number (teletypewriter; used for the deaf and hard of hearing) and tap Send/press Enter to submit. From there, an application will dial the number over the network. Once I establish the connection to a network and caller answered the phone, the caller will start typing. Thus, an application's job is to receive sounds from the network and translates it back to text, so I can start typing. As I start typing, my application will translate text into sound and pass it through the network to the caller that I'm talking to. There is a TTY program called CallTTY, and it's used to interface with the sound card without a voice ...Show All

  • Visual C# C# HTML/PHP POST Help

    Hi,        My problem is: I have a webpage, with 1 text field, and 1 submit button. I need to enter a URL into the text field, and press the Submit button, all from a C# program. After the submit button is pressed, the webpage will download the file you input (the url), And i need the program to download the file. Webpage info: [Form: action = "site.com/process.php"  method = "POST"  name = "dl"] [TextField: input name = "download"  type = "text"] [Button: value = "Download"  type = "submit]   I have been playing around with this for a very long time,  I would greatly appreciate any help. Thanks in advance, Kyle. ...Show All

  • SQL Server insert only time in sql server database

    hi, i want to insert only time in my sql server database.but when m try to insert time in database it takes time+default date. i want to eliminate this default date. plz any one know this then tell me. Regards, shruti. There is no way.  The two native temporal datatypes currently offered in versions of SQL Server are SMALLDATETIME and DATETIME -- both, you'll notice, have "date" as well as "time" in their names.  The two are inseperable.  What you should do is insert the time with the default date, and remove the date component for display when you need to show the time on a screen, etc.   -- Adam Machanic Pro SQL Server 2005, available now htt ...Show All

  • Visual C++ C++ vs C++/CLI

    Hi, Somewhat of a basic question here. I am working on my first project using C++/CLI, a windows form project. I am trying to follow the ECMA standard. We have an open source piece of code we use across platforms called tinyXml, works fine. It use's STL, and probably would not be considered a C++/CLI program. I believe that STL is not ready for C++/CLI, from what I have read. So, tinyXml compiles and works fine in this project, which I find a bit confusing. I was under the impression that to get code to work properly in C++/CLI you had to follow ECMA. One example that works. Enum's. The standard has something like,( a bit general here ) class enum{ }, but I have added some older code that would look like, enum{ }, and tha ...Show All

  • Visual Studio Team System Data Driven Unit tests and Database Deployment

    Let me first start by saying thank you so much for DataDude! OK, with that said I have a question. Our applications consist of a data access layer that we like to write unit tests for. To best exercise the data access classes we like to use data driven unit tests. In some cases we use the test database as the test datasource as well. Here is the question: when I have a unit test set with the datasource being the database to be deployed in the Database Configuration for the test project everything will work fine if the database exists and has data in the table specified in the DataSource attribute of the test method prior to the test run being started. However, if the database does not exist the test is aborted before AssemblyInitialize is ...Show All

  • Visual Studio Express Editions Creating a Simple Game

    How would I go about creating a game where boxes come up in patterns and you have to avoid them by using your arrow keys to move an arrow. Use Visual Basic!!! You will get alot better help on this site if you try to accomplish your task yourself and then post the code you are having problems with. Try starting with just a part of your idea...like moving an arrow around the screen with the arrow keys... Place a picture box on the form...load it with a image of an arrow and then use the forms key_up event to detect arrow key presses...and then change the location of the picture box accordingly...give it a try and get back with us if you have a specific problem....Then we can move to step two ...Show All

  • Visual Basic Write data in VB.NET to Access using SQL

    Okay, I have an Administrator page that is able to create new users. I have a simple adduserform that has a TabControl added in it with a tab for General Info and User Info. Those have quite a few texboxes for input and outside of the TabControl are 3 buttons that are Save, Clear, and Exit. What I want to do is have the Save write the data to my small database that I have for users. If you want to see an example of my screen you can see it here.... http://redbearcustoms.no-ip.info/VB/adduserform.html well the link doesn't work.... lol so let me get this straight, you want to write data to a database correct Which database MS Access or SQL either way, there are a good few examples and snippets on the ...Show All

  • Visual C# How to disable text antialiasing in Visual Studio 2005?

    The topic says it all! Thanks for any help! ...Show All

  • Visual C# learning to live w/o pointers (C++ programmer here)

    Good evening- What I'm trying to do is take a variable, place a reference to it in a container, have some math operations act on the whole container (which might have any number of references to variables) and then be able to access the original data in the original variable. Hope that wasn't too confusing. In C++ this was performed by using references and pointers - I'd pass the variable to a function by reference, make a pointer, place the pointer into a container, do my operations, and at any time I could query the original variable and get the updated results since the pointer pointed back to it. How is this accomplished in C# I banged my head up against the wall for a few hours this evening trying a few things but I don't quite see ho ...Show All

  • Software Development for Windows Vista WCF and Cardspace sample without IIS?

    Hi, I would like to try out CardSpace as an authentication for my self-hosted WCF service. However, all the samples that I find require IIS. Is there any samples/tutorial for me to get started with CardSpace that focuses on self-host WCF service Thanks Hello YewMing, this sample demonstrates the capabilities you want. HTH, Vittorio ...Show All

©2008 Software Development Network