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

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

pinkybaby

Member List

I am Mats
hungryghost
Maaloul
dickP
RyanB88
viveque
programmer01
Feng26
Szdnez
Temha
Emadkb
NYSTOFMIND23
grievesy
RJB84
Doug Holden
seewan
MNJ(m-studio)
aquaseal
Gustavo Frederico
milicica
Only Title

pinkybaby's Q&A profile

  • Architecture Architecture options for running a long process from an ASP.NET website

    Hi, We currently have a solution where a user can upload a file, which gets processed in an ASP.NET v1.1 intranet website The solution was designed to handle 10-100 items, but customers have (ab)used the solution to process 1000-10000 items. Processing 100 items takes less then a minute, processing 1000 items takes around 7 minutes, larger uploads take (non-linear) longer. Now besides performance tuning the processing, I want to gather feedback on what is the best strategy to take the upload and have it process 'asynchronously'. After the upload, the user would immediatly get a status page which would refresh itself (every so often). So I have a few questions about what would be the best route to go about 1) Which process to ...Show All

  • SQL Server Why it is rounded off the decimal number??

    I am using the following code but it rounded off the decimal number and save the number in rounded form in the database(SQL). Plz tell me what is problem with this code. using System; using System.Data.SqlClient; using System.Collections; using System.Windows.Forms; using System.Data; namespace ConsoleApplication1 { class Program { static void Main( string [] args) { string connString = "server=(local);database=WH;Integrated Security=SSPI" ; SqlConnection conn = new SqlConnection (connString); try { conn.Open(); DataSet oDS = new DataSet (); // Create the DataTable "Orders" in the Dataset and the OrdersDataAdapter SqlDataAdapter oOrdersDataAda ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Geometry Shader Performance

    Hello Everyone, This is a fairly generic question, and I promise it may sound like a hardward question at first, but it's not really. Does anyone else notice how slow some of the DX10 samples in the Feb SDK are Specifically those that employ the geometry shader such as the displacement mapped lizard and the example of how to do cube mapping in one pass (when you check "Render Car") They are dramatically slower than other DX10 and DX9 samples. I was shocked when I ran them. Do you think this is because the DX10 SDK/API is in it's infancy Or the hardware/drivers are still too young I'd ask this in a hardware forum but most of those guys don't know anything specific to the SDK or programming, just the buzz words and marke ...Show All

  • Software Development for Windows Vista under Vista, Studio 2005 is crashing only on somes solutions

    Hi, Since a couple of days, I encounter a strange behaviour under Studio 2005 C++. When I try to load somes previously created solutions, projects reloading perfectly but 1 or 2 seconds after items are displayed in the solution explorer, Studio crash. But strangely, all others solutions opens without any problem. I think the pb. come from Intellisense which is confused by some of my C/C++ files. But more strangley : I can't reproduce this bug on XP. So I guess that the problem come from the Vista + VS2005 combo . I'm rather irritated because, the trial period for Vista is very short, so I will not be able to test it anymore and report feedback. For now, disapointedly I switched back to XP. The bug occurs with the Express version of VS2005, ...Show All

  • Windows Forms adding a user control to the Toolbox

    I am having problems adding a user control to the Toolbox in the .NET environment. How do I do this Thanks for any help. Bruce For some reason, in my .NET environment, I do not have the "Add Item ..." option when I right-click on a tab in the toolbox. The only way I have found so far to add a user control to my Toolbox is to right-click on a Toolbox tab, choose "Customize Toolbox ...", then browse for the .dll of my user control and add it under the .NET Framework Components tab. There must be a more straightforward way to do it. How can I get the "Add Item ..." option added to the popup menu for the Toolbox Bruce ...Show All

  • Smart Device Development How do I read/write a binary key in the registry on a pocket pc?

    Here is my test code buy I get a error every time. I have been able to reas and write dword and string keys with the basic same code with no errors but I am stumped on this. Dim test As Byte test = Microsoft.Win32.Registry.GetValue( "HKEY_LOCAL_MACHINE\Software\Microsoft\Color" , "SHColor" , Nothing ) If test = &H1B Then CheckBox2.CheckState = CheckState.Checked CheckBox2.Enabled = False End If If CheckBox1.Enabled = True And CheckBox1.CheckState = CheckState.Checked Then Microsoft.Win32.Registry.GetValue( "HKEY_LOCAL_MACHINE\Software\Microsoft\Color" , "SHColor" , &H5a ) End If Thanks in advance, Mark ...Show All

  • Windows Forms Checkbox group

    If I have three checkboxes in a group, and want to ensure a minimum of one out of the three is checked...what is a good way of enforcing this Hi, you could use the Validation event - put all three boxes on some kind of container (GroupPanel) and catch its Validating event: private void groupBox1_Validating( object sender, CancelEventArgs e) {     // Assumes that groupbox contains checkboxes only...     foreach ( CheckBox checkBox in groupBox1.Controls)     {         if (checkBox.Checked)         {             re ...Show All

  • Visual Studio Express Editions View New Form

      I am looking for help in creating a log file, and write the information to a text file to be displayed in a new form while the application is running any help will be appriciated.   DKB Suppose you have two forms, say Form1 and Form2. Form1 has two buttons and Form2 has a textbox with Multiline set to true. Have a look at the following which should give you some ideas of one way to do this Imports System.IO Public Class Form1 Dim LogFileLine As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim SW As New StreamWriter("D:\temp\logfile.txt") For X As Integer = 0 To 10 LogFileLine = &quo ...Show All

  • Software Development for Windows Vista RegOpenKeyEx() Unable to find key?

    Under vista keys my app writes goes into HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node vs the old HKEY_LOCAL_MACHINE\SOFTWARE\ on XP. When I read using RegOpenKeyEx() I get an error 2 key not found returned. How do I determine when or how to look for a key when on a 64 bit machine running Vista Thanks. Looks like you are running into the 32bit vs 64bit registry problem. See http://msdn.microsoft.com/library/default.asp url=/library/en-us/sysinfo/base/32-bit_and_64-bit_application_data_in_the_registry.asp ...Show All

  • Visual C# Detecting changes for "Save" and "Save As..." purposes

    I have a base abstract class that contains a generic dictionary. All of the derived concrete classes inherit this dictionary. The Value of the dictionary is of the base class Type. This is to allow adding/deleting of derived types. Ok, what I would like to do, is detect when changes have been made in the object model, so that I can implement a "Save" and "Save As..." method. What is available out there that allows me to do something like this Basically, I have two main classes in my object model, let's just call them Class1 and Class2. Each class contains a Generic Dictionary with the value being that of the other class. This is so that users can call a .Add() method and are able to add Class1 objects to Class2 ...Show All

  • Visual Studio Can't check in binary file..., Help!!

    Hello... When we attempt to check in a project file, that is a binary PLC project, we receive always a message from Visual SourceSafe 2005: "File ...\h\hliaaaaa.b is already open" where ... is actually the network path to the VSS database. Here the exact sequence: Check out the PLC project file (binary file) Copy the newer project file over the checked out file on the file system Check in Question: There is a newer version in the database for the file '....'. Because the file is binary it cannot be merged during check in. Do you want to continue check in this file,..... Click Yes The VSS client is working... Warning: File ...\h\hliaaaaa.b is already open ...Show All

  • Visual Studio VS 2005 - Where is the memory view window?

    Hi people, I'm looking for some sort of memory viewer window that I could load in VS 2003 in Debug Mode for viewing what data is on a certain location in memory. In VS 2005 I can't find this option! I'm sorry that I don't know the exact name of that opion, but I don't have VS 2003 installed on my system at the moment... Thank's a lot for your help Got the same problem. Sounds weird but I dont have Debug/Windows/Memory item in drop-down options. Just Break Points Watch (4 windows) Locals Call Stack Threads I was debugging regular .exe. Any help, please! msvc 2005, Version 8.0.50727.42 (rtm.050727-4200) Installed Edition: Professional Microsoft Visual Studio 2005 Ver ...Show All

  • Visual Studio Team System SMTP Server with non-default port configuration

    How do I configure TFS and SharePoint Services to use SMTP server with non-default port I tried setting server name to mail.mydomain.com:587, but it does not seem to work. Is it possible at all That's good.  I am not an expert in Sharepoint, but found this on the technet.  Hope it will be useful.   http://www.microsoft.com/technet/prodtechnol/sppt/sharepnt/proddocs/admindoc/owsf01.mspx mfr=true ...Show All

  • Visual Studio Express Editions Saving and Opening files

    I want to save and open a file with a unique extentions. How do I do that The following code doesn't have any error handling and is not the recommended way to save and restore a label's text. But it does what you asked for, including a new file extension. < Global .Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ Partial Class Form1 Inherits System.Windows.Forms.Form 'Form overrides dispose to clean up the component list. <System.Diagnostics.DebuggerNonUserCode()> _ Protected Overrides Sub Dispose( ByVal disposing As Boolean ) If disposing AndAlso components IsNot Nothing Then components.Dispose() End If MyBase . ...Show All

  • Visual Studio Problem inserting code Snippets

    Hi, I am having difficulty inserting code snippets. When I right mouse click and say Insert snippet I'm told that there are "No snippets available". The same thing happens if I go Edit -> Intellisense -> Insert Snippet. I've checked in the Code Snippets Manager and all the locations and paths are correct and I can view all of the snippet files in explorer. This used to work fine for me. I installed SP1 about 2 weeks ago - but I'm not sure if this is when the problem arose. Can anyone shed any light on what might be wrong Thanks very much, dlarkin77 Hello- I'm sorry that my suggestion didn't work. Could you try it again but this time after you delete the file could you open regedit and ...Show All

©2008 Software Development Network