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

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

Taitt

Member List

Gabriel Gheorghiu
bpeikes
mig16
TaDa
dragoncells
boyapati
SuzanneWeiss
gooon
Crazy68aseric
Ptaveras
drazvan
Barger
Handerson
jh0483
AJB123
kfsoft
Navya Jeevan
Keyu
David Pallmann
Surferdude
Only Title

Taitt's Q&A profile

  • .NET Development LinkList or List, which is faster?

    I thought LinkedList would be faster than List but I ran a test and it showed they were about the same speed. Anyone else done a test like this It doesn't make sense that List would be as fast and LinkedList. My test was reading in a 300 meg data file (row, column), and then writing to the data. You are absolutely correct, Matthew.  I should have included an example since I didn't want to include all of the code I was testing.  I made an example.  I agree with the insertion comment.  List Time 1.8125 Linked List Time 1.84375   using System; using System.Collections.Generic; using System.Text; namespace TimingTest {   class Program   {   &nb ...Show All

  • Visual Studio Express Editions Power Point Show in WebBrowser Control ? can it be done ?

    how to view power point show inside a web browser control in an application form thank you sorry whats the problem :-) you seem to have it right.... this.webBrowser1.Url = new Uri(@" file:///c:\whatever\yourpresentation.ppt ") ...Show All

  • .NET Development Setting Optimistic approach when no primary key exists

    Hi, I have two DataSets. My first one contains a single DataTable which has a primary key. I could easily configure the corresponding TableAdapter to handle "Optimistic Concurrency" and then verify that the coding for the "update" as well as the "delete" SQL statements were set accordingly. My second DataSet also has a single DataTable but this time with no primary key at all. The reason why there is no primary key starts from the fact that this table will only contain one record. My question would be the following: Starting from the fact that: 1- the designer seems to implement optimistic concurrency coding for Update/Delete SQL statements only when there is a presence of a primar ...Show All

  • Visual Basic in my windows application i need to open the ms outlook

    in my windows application of vb.net i need to open the outlook and set the to and from mail id and also a formated mail body can any one help me how to open the outlook from vb.net programming and set the to and from adress and also the formated mail body ahmedilyas wrote: just to add you must have outlook installed on the machine - my solution launches the default email client, usually outlook I mentioned in my post that the same version of Outlook would have to be installed on the target machines. Also, just to add, the posts you link to above contain incorrect information. You state that it is not possible to send an attachment through Outlook automation due to security reasons; this is incorrect. Add the follow ...Show All

  • Visual Studio Tools for Office Problem opening Excel 2007 file from Word 2007 addin

    I am attempting to open an Excel 2007 file (test1.xlsx) from my Word 2007 addin using OleDb. The code runs fine as long as I have the Excel 2007 application running with "test1.xlsx" open. But if Excel 2007 is not running, I get an exception "External table is not in the expected format" on the myConn.Open() statement. Does anyone know what the problem is Here is the code: using System; using System.Windows.Forms; using System.IO; using System.Data; using System.Data.OleDb; using Microsoft.VisualStudio.Tools.Applications.Runtime; using Word = Microsoft.Office.Interop.Word; using Office = Microsoft.Office.Core; namespace testAddIn { public partial class ThisAddIn { private void ThisAddIn_Startup(object ...Show All

  • Visual Basic Where are the Explorer Form Template Images Stored?

    VB.Net Winform application: when I add a new item, using the Explorer Form Template, some of the default menu items and toolbar items have images. Where exactly are these images stored How can I access these to assign to different menu items or toolbar items Thanks. ...Show All

  • Visual C++ how to get thread to update editbox?

    Hi, I'm new to programming using mfc. I'm running a thread to read from the serial comport and I would like the data I read from this thread to be reflected back on the main dialog box. I have created an array of editbox in the main dialog box using CEdit Data . How can I pass the get the thread to put the data in the dialog box yours truly, lyndon ...Show All

  • Visual C++ help with linked list

    I'm having some problems with linked list. I'm working on a small program that deletes a node somewhere in the middle of the list. I don't seem to understand what is wrong with this code below. I know the syntax it correct, but when I try to delete a node somewhere in the middle, it deletes that node just fine, but I believe that I'm not tying my pointers together right. Deleting is not the problem, the problem comes when I display the list again. I will display before I delete the particular node I want, but after the node is deleted, it crashes the program when I display the list. I've tried this one several different ways. (#1, using a temp node to "bookmark" my spot at the node(current) for deletion) temp=current; pr ...Show All

  • .NET Development 2146233079 automation error while createobject on interop assembly (only second time)

    Dears, I have the following bizar problem. I've created a .NET assembly (dll) that can be created from COM (vb6 in my case). When I create the object the first time, everything goes fine. But the second time, I get an error on the CreateObject (-2146233079 automation error). I was unable to retrieve any more information from the error object in vb. I registered the .NET assembly using regasm (I tried both with and without the /tlb option). The .NET assembly simply queues the items it receives and spawns another thread that consumes the items. The spawned thread exits gracefully, and all calls to the DrillBackDotNetDispatcher return to vb. The second creation of the object is made after both the last call to addItem has returned and the t ...Show All

  • Visual C# how to set back color in hex

    Hi all, I would like to set the panel back color to hex value "#ffff99". May I know how to do that Thanks ...Show All

  • Windows Forms How can 1) select all the sheets from excel and 2) specifix column & rows from excel?

    I am reading excel from my forms application and populating into dataset. The query looks like this. OleDbCommand* objCmdSelect = __gc new OleDbCommand(S"SELECT * FROM [Sheet1$]", objConn); 1) If I wanted to select all the sheets of the excel in to dataset, how can I do it supposing it has three sheets and I do not know the sheet names by the excel file is known. 2) In another case, If I select Sheet1, I wanted to select specific rows and columns from A:1 to D:10, how can I do it Appreciate your help very much. Thanks, Have a look here http://www.codeproject.com/aspnet/getsheetnames.asp In answer to your first question. In answer to your second if you want to work with Excell in this mann ...Show All

  • .NET Development Error:Retrieving the COM class factory for component with CLSID {} failed due to the following error: 8007000e

    Hi, I am trying to take screenshots of any open Internet Explorer. I have writen the code and it works fine when I run the site in debug mode. Once the site is published I get the following error: Retrieving the COM class factory for component with CLSID {9BA05972-F6A8-11CF-A442-00A0C90A8F39} failed due to the following error: 8007000e. This error is shown for the following line: SHDocVw.ShellWindows shellWindows = new SHDocVw.ShellWindows(); I have given permission to various files for aspnet user. I have looked up most of the forum but to no avail. Any help would be greatly appreciated. Thanks, Hi Everyone, I am getting same error ..on production server.We have developed .net applica ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Shader to Mimic BasicEffect Textures

    Just in case I am overlooking the obvious, is there an easy way of getting the textures that are linked to a mesh   BasicEffect somehow knows which textures are for which part of the mesh, is this behaviour easy to mimic in a user definded shader   I have per pixel lighting with specular/diffuse working great, I just need this last peice of the jigsaw. Any help is much appreciated. You can cast the effect that was loaded by the pipeline to BasicEffect, then look up its Texture property: Texture tex = ((BasicEffect)meshPart.Effect).Texture; ...Show All

  • Visual C# displaying an image via the default windows program

    Hello everybody, I mostly work in C\C++ projects and by using MFC. However I have a project that I wrote in C# (VS .Net 2003 - framework 1.1). My Question is: How can I launch (from whitin my application) the default windows program for images displaying (and passing into it the image) I would prefer to pass the image as an image stream (if it is possible). And by the way one more question: I read in MSDN that i should not close a Stream that an image currently uses. In most of the cases, in my code, I do not close the memory streams that I create to load an image from. Is this a memory leak or .NET Framework does the work for me when the Image is out of scope Thank you all for your tim ...Show All

  • SQL Server Package abort if sqlserver connection failed

    Hello, I am connecting with various sqlservers in a package to get the information. If connection failed with any sqlserver, package failed after 3 tries. I would like that if connection failed with any sqlserver, package should not end rather move ahead. I already tried to increase the number of error from 3 to 1000 but still package failed as soon sqlserver connection failed. Any help is appreciated. Thanks. ...Show All

©2008 Software Development Network