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

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

vaishalli

Member List

Marcos B
rnfinley
Adam Miles
Karl Erickson
Gary200
jortiz
Jeff Levinson
suranga_d
ComSpec
TkNeo
Steveinbeloit
h1
Jörgen Verhart
SnowJim
Bo416
tviel
RichLeyshon
Carl Daniel
Emphyrio
Arkkangel
Only Title

vaishalli's Q&A profile

  • Visual Basic count

    hi, i am very new to vb and have been looking for a solution for this problem for hours! i think that i have been looking at it for to long and have just completly lost the point of it, so any reply will be greatly appreciated!! anyway, here it is... i have a project where i must display the total number of items from 4 textboxs in between a certain range. for example if 10, 3, 4, 11 are entered into the textboxes, i want to display the total of numbers in between 0 and 5, thus 2 would be displayed. i know the answer will probably be something simple that i have overlooked, but i am near the end of my rope mentaly due to this !!!!!!!!!!!! Impossible !!!!!!!!!!! But we were both elegant... however you lac ...Show All

  • Visual Studio Express Editions Run code after process finished

    The code below gives this error at line System.Threading.Thread.Sleep(SleepTime) ContextSwitchDeadlock was expected The CLR has been unable to transition from COM context 0x1c1948 to COM context 0x1c1ab8 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages d ...Show All

  • Visual C++ Accessing files and folders inside projects added to a SolutionFolder (vs2005)

    I'm having a hard time accessing the files and folders under projects that are added to SolutionFolders. I can traverse all the projects and find all projects that are of the type SolutionFolder in there, I can also traverse all regular projects and their files / folders. But when it comes to the projects that are added under the SolutionFolder I can't find anything even though a lot of stuff is laying under them. This is how my solution looks like: Solution Project // Find ProjectItems under here Project SolutionFolder // Find ProjectItems under here that has the same name as the Projects under the SolutionFolder Project // I can access these projects as ProjectItems but can't find any items under them Project Project ...Show All

  • Architecture Windows Service can't access files on the network

    How do I create a Windows Service that can access files on the network Right now the service is logged on as "Local System" and cannot access network folders or files. Hi, How do I do that that is impersonate another user and read the config file I'm assuming that the "run as" feature is different than impersonation that is being referred to in this thread. Thanks ...Show All

  • SQL Server Scheduling the SSIS Package to run after every 2 mins

    How can i plan the execution of a package For example, i want to execute the package every 2 minutes for all the time. I do not want to use SQL Server Agent to do this. I want the package to self contained to do it. Thanks Rohit I don't use SQL Agent either, but SSIS packages are not designed to be run like Windows services or Unix daemons. For one, there still is a memory leak in 64 bit (perhaps fixed in the forthcoming SP2) that forced me to write a script to restart the SSIS service whenever the msdtssrvr.exe's process working set size became too large. As for scheduling ,there are probably thousands of ways to do that. One that comes immediately to mind is schtasks.exe, which is a replacement ...Show All

  • SQL Server Indexing Question

    I am somewhat new to SQL and have an indexing question I have a table that consists of 60 columns of mostly numeric data. Included in the table are fields called Customerid, CustDate and CustTime. Every hour data is posted to the table with the current time and date as well as customerID. The table is about 6 million rows. I have a query that reads: SELECT CustomerID, custdate + custtime as date FROM Mytable WHERE CustID = 905 and (date between ‘1/1/7’ and ‘1/17/7). The query works but it takes longer than I would like so I am wondering if it’s an indexing issue. Currently my table is indexed as CustomerID + CustDate + CustTime. None of the fields are unique, but the combination of the 3 i ...Show All

  • Visual Studio Express Editions Question about DllImport?

    i'm currently using this in my program. i'm wondering if theres a faster way ( less coding) to do the following coding task. example. [DllImport("<dll name>", EntryPoint = "<command>")] public static extern <command>(etc, etc, etc); [DllImport("<dll name>", EntryPoint = "<command2>")] public static extern <command2>(etc, etc, etc); [DllImport("<dll name>", EntryPoint = "<command3>")] public static extern <command3>(etc, etc, etc); etc...... is there way to just do DllImport just the once. yet still use the seperate public static commands. No, the attribute must be applied to each method. ...Show All

  • Visual Studio Express Editions Create a UserControl

    I am following a tutorial on how to open a directory and show all the pictures inside as thumbnails. Below is the last paragraph so I thought, for my purposes, I would try to create a control so that I can use it in other programs in the future. I have now done everything I need, what I don't know is how to make it a dll so can someone show me how I compile it to a dll please You can use this control in any of your projects by adding the Thumbnail control source code to it. Alternatively you can create a UserControl project that contains the finished thumbnail control and compile it to a DLL. You may then either add the compiled user control to any of your projects as a reference or add it to your toolbox and use it in the Visual ...Show All

  • Visual C# Closing Forms

    Hi, It's OK - I know how to close a form (for those who don't know, it's: this.Close() ). What I don't know is how to perform an operation just before/after thew form closes. Does anyone know how to do this Thanks. Eragon. Take a look at the Closing event, sounds like what you are after for: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfSystemWindowsFormsFormClassClosingTopic.asp ...Show All

  • Windows Forms having an issue loading a jpg resource in XBAP on Server 2003

    the original thread is at the WPF forum : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1169054&SiteID=1 but there doesn't seem to be much XBAP chatter there Thanks, casey ...Show All

  • Visual Studio 2008 (Pre-release) Generate DataContract with SVCUTIL

    I'm trying to generate a data contract from an XSD. I run "svcutil /dconly c:\projects\schema.xsd /language:CS /out:c:\projects\class.cs" and I get the following error: cannot read <schema file name>. cannot load file <schema name> as an assembly. check the fusion logs for more information. could not load file or assembly 'file...' or one or more of its dependancies. The module was expected to contain an assembly manifest" This is error is confusing to me because I cannot see anything that will make svcutil think this should be an assembly. It runs fine with the same command pointing to another xsd; I only get this error with this particular xsd. Any ideas xsd pasted below... < xml version="1.0&quo ...Show All

  • Windows Forms Why isn't CellStyle Format preventing alpha characters in Number format column?

    Hi all, I'm a bit confused here. I set the CellStyle Format for each column in my datagridview to be: 1) Number 2) Date 3) Currency 4) Just Text. So why are letters allowed to be typed into the Number column, or the date column If I'm using the wrong property, then what would be the correct one I don't want to use validation - b/c then it's too late. I want to prevent a non-legal character from ever being written into the cell. Thanks. The design goal of the DataGridView was to create a flexible grid control with all the most common features, while recognizing that almost everyone will have special needs that can't be satisfied by the common features. The control had to cover the basics, but also had to ...Show All

  • Visual Studio Tools for Office Open WINWORD.EXE process

    Hi, I am performing Word 2003 automation using C#, VSTO 2005. I perform various operations like mailmerge, embedding document, inserting text from file, inserting tables.... on a base template file. Once the document is generated, i save it to some location, close it and re-open it. And before closing the same, i release all references wrdSelection = null; oWord = null; oWordDoc = null; objMailMerge = null; The problem is that when i re-open the document and in the task manager, two processes are open for WINWORD.EXE. I am puzzled as to from where the second WINWORD.EXE process gets loaded. Hi Amrish As you've been advised before, the correct place to post automation questions is the office.develope ...Show All

  • Visual C++ Has casting to int from double changed completely in VS2005?

    Has casting to int from double changed completely in VS2005 Numbers that are too big are always -1 now. Which has caused me much pain to track down and is not compatible with code we currently use. Here is an example, it used to be that if you cast a big number to an int, you would some value that was related to it in some way: (int)1.0957837e+011 => -2090779696 But now it is always -1 if the value is out of the range of the int: (int)1.0957837e+011 => 0x80000000 Is there anyway to make Visual Studio 2005 use the old style of casting Thanks John Petritis Unfortunatly, it does not disable the use of sse. btw, the specific error I get when executing the flawed _ftol2_sse method is 0xC00 ...Show All

  • Visual Basic Code to Convert numbers to time

    I hope I am in the correct forum it is my first posting I have a database which has three fields for Hours Minutes and seconds these are just numbers and have no relation to time. I need in a report,code that will convert the numbers to time and add the seconds to minutes and add the minutes to hours. Thanks Bartley It looks like you are writing VB code in Access, as these forums are intended for VB.Net development . The VB Language in Access is called Visual Basic For Applications and is a very different language to VB.NET. The VBA specific forum http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=74&SiteID=1 Or you may find more assistance in following which specifically deals with MS Office develo ...Show All

©2008 Software Development Network