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

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

Kirankrb

Member List

Slippyr4
Thor78
CCam
bigmac7669
watch is
Whiplash8
Coritani
C#Student
GrandpaB
Jamie Thomson
Henry Iverson
John_Mac
USJOHN
C.Y. Leung
jschroeder
csammis
DCWCore
EYSRG
Nagaraj K
Thomas Abramse
Only Title

Kirankrb's Q&A profile

  • Visual C# Classes without namespaces (Error 1)

    Hi, I'm debugging someone else's code. The programmer is not using namespaces and all his classes are in different files with the name of the class as the filename. Somehow, only on my machine, I get an error saying: Error 1 The type or namespace name 'MyClass' could not be found (are you missing a using directive or an assembly reference ) Works fine on his computer. How does the IDE resolve the "using" statement and, if someone is only writing classes without namespaces, how can the compiler find a class when it's being used as a type in another class (and file) Plus, if a file is included in a project, doesn't the IDE "register" the possible use of all the classes defined inside that file Is there ...Show All

  • .NET Development SQL - sort results based on number of matches

    I'm writing a simple search engine to query a database and return results based on keywords, such as %school%, <term1> <term2>, etc...... Is there any way to sort the results of the query by the number of matches For instance, my table has field1, field2, and field3. I search for "schoolA nameB".........it returns 10 records, 2 of which contain fields matching both of the keywords. Is there a way to put those at the top of the list My sql query statement looks like this: "Select * From Table Where field1 Like 'schoolA' Or field1 Like 'nameB' Or field2 Like 'schoolA' etc........ Hi, A possible way is to set an indicator for each column (whether it maches or not) and count t ...Show All

  • SQL Server Newbie needing help -> poll a folder for new files

    I need to create a SQLNS app to poll a particular folder for mpeg files. When a new file (which in this case will be an mpeg video file) is dopped into the folder, I need to write some of the files metadata (filename, size, path) to an existing SQL database on the same server. I'd also like to send out an e-mail notifying that an end-user that a record was added to the database. The subscription piece (e-mail notification) seems easy enough. I'm curious about the implementation of inserting the file metadata into the database. I'm pretty new to SQLNS, so any help to point me in the right direction would be most appreciated. Thanks in advance! Hi - If it were me, I'd probably investigate the following d ...Show All

  • Software Development for Windows Vista NetUserEnum call fails on vista when going across domains

    I have a parent and a child domain. The vista machine is in the parent domain, when i try to get the user accounts on the child domain rfom the vista machine its gives me a access denied (5) even though i am logged in as a enterprise admin. The same code that i have outlined below works on XP\2000 etc. I use NetWkstaGetInfo to get information of the users workstation. The (WKSTA_INFO_100) structure member (wki100_langroup) has the name of the domain (Parent domain in this case as the vista machine is on the parent domain) then i use the NetGetAnyDCName to get any domain controller on the parent domain. I run the NetGetAnyDCName again with the domain controller from the parent as the first argument to get a domain controller from the chi ...Show All

  • Windows Search Technologies dwwin.exe crashes after uninstall WDS and end process of svchost.exe which continues to index

    After uninstalling WDS 3.0, I find that indexing is still going on, usually after rebooting after the 2 am index time has passed. I kill/end process svchost.exe which is using 100% of cpu makingmy computer unusable. On shutdown, I get an error message that dwwin.exe is unable to exit due to shutdown and another saying ig had a crash. This is on Windows XP Pro SR2. I need help completely uninstalling WDS. I uninstalled because it would not find files of name .exe I could not find SearchProtocolHost.exe, SearchIndexer.exe, and WindowsSearch.exe on my computer after uninstalling. I did notice that Windows Desktop Search still had a listing on Start->All Programs after uninstalling. dwwin.exe d ...Show All

  • Visual C++ how to form a avi or wmv file

    Hi I am working on a project about screen capturing. I came cross a problem when I can get the screen and put the DIB into the memory. the project request that the software must get 15 frames/minute and form a avi or wmv file . Now , I just can get 5 frames/minute using the GDI . I must improve my method of screen capturing and I don`t know how to form a avi or wmv file , If anyone can give any advices about the problem , it will be a grateful thing. data is just the screen . I get some ideal from my colleague that I can get the data from GPU by using HOOK ,but I don`t hava a sample or some embody advice; ...Show All

  • Visual Studio Tools for Office How to merge 2 Word docs, and also 2 Powerpoint presentations?

    Hi, Not sure how to go about doing this one: I've got 2 word documents that I want to merge into 1 document programmatically, using .NET - any thoughts I also need to do the same for 2 Powerpoint presentations Thanks One can also use Word's Range.InsertFile API The docs about this method go like this: Word Developer Reference Range.InsertFile Method Inserts all or part of the specified file. expression .InsertFile( FileName , Range , ConfirmConversions , Link , Attachment ) expression Required. A variable that represents a Range object. Parameters Name Required/Optional Data Type Description FileName Required ...Show All

  • Visual Studio Team System Adding Objects to my solution

    I have created a new solution, and have a Data Connection open in Server Explorer, and can see a small DB where I created a few SP's, tables, etc, and I want to add the db objects to my solution, then have my solution link up with VSS. Cannot figure out how to do it. I thought I would script using SSMS and add to VSS that way and then somehow get project to work - but even SSMS doesn't seem to offer scripting objects to individual files anymore. This might have been the wrong approach anyhow. How can I get my DB objects in my project then get VSS to line up with them Hi Joe, I am not too sure on your question but hopefully the following will give you some pointers: 1. If you have create a ...Show All

  • SQL Server Replication Monitor reveals poor performance - but what to do to fix it?

    The client production server CPU starts thrashing. Task manager indicates that SQL server is gobbling CPU cycles. Having a look at the replication monitor, it is obvious that indivual synchronisations to the mobile devices are taking significantly longer expected. Observing an indivual synchronisation attempt, the Upload changes to Publisher rows are very quickly resolved. The Download changes to Subscriber seems to take up a very long time. Along the way, the estimated completion does a few interesting things, like going from 100% complete with no estimated time to complete, back to seomthing like 77% with 2 minutes left to complete. This sort of behaviour occurs when there are only a hundred rows to download. Synchronisations for minima ...Show All

  • SQL Server ssis in sql server express edition

    hi, can anybody tel me how i can install (any component to be instakked) ssis in sql server 2005 express edition it's lok like this edition doesn't support ssis! is' it true Thanks Sandipan Hi, Is there any way we can run an SSIS package from SQL Server Express (with any extra components installed) . My application needs this scenario, the SSIS package running from the client machine and pull data from the server. Please help me understand how can i do that. Thanks. Vigya ...Show All

  • Windows Live Developer Forums is sandbox down?

    I've been unable to communicate for several hours. I have verified that I'm using the SSL wsdls: < xml version="1.0" encoding="utf-8" ><soap:Envelope xmlns:soap=" http://schemas.xmlsoap.org/soap/envelope/ " xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd=" http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Server was unable to process request. ---&gt; |-400021|-1|ERROR_API_FAILED_DUE_TO_SYSTEM_ERROR|</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope> -Neil Hello, Yes, as I stat ...Show All

  • Visual Basic For Each Statement

    I am using For Each ctrl As System.Windows.Forms.TextBox In Me.Controls ctrl.Multiline = True Next It gives an error saying Unable to cast object of type 'System.Windows.Forms.LinkLabel' to 'System.Windows.Forms.Textbox'. I do have a LinkLabel on my form but why is it even trying to cast it The statement should only look for objects of type System.Windows.Forms.Textbox, right Thank you for your help. Troy L this is the correct way of doing so below, remember, a Control container/collection will only accept the Control object when iterating through the collection: for each ctrl as Control in Me.Controls if TypeOf(ctrl) Is TextBox then Dim theTextBox as TextBox = ctrl 'do your operation on the text ...Show All

  • Windows Forms Simple binding of control property to class property question...

    I've got an issue that seems simple enough. I'd like to bind the "Visible" property of a label with the "IsSorted" property of a BindingSource object to give the user a visual indication of when a list is sorted. lbl.Visible.DataBindings.Add("Visible", mSource, "IsSorted") That should do the trick as far as I can tell (assuming mSource is a populated obj and it is), but I get the Argument exception and it says "Cannot bind to the property or column IsSorted on the DataSource. Parameter name: dataMember" What gives Any ideas Thanks in advance. I've come to understand that the problem is that I'm trying to bind to a property of a collection, and that call is being pas ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Visual Studio 2005???

    Why should I have to install Visual Studio C# Express if I own the full version of Visual Studio 2005 Pro I have a much more advanced version of C# than the one offered in express. Somehow this logic does not make much sense to me. Perhaps the install need to look for some install of C# but recommend the express if no install is found That would make more sense. Jon Watte wrote: I find that I'm missing the Thread view, and the Attach to Process function, a lot more than the class view. You can design classes on a napkin, but you can't Attach to Process on a napkin! I didn't realise there is no thread view - that's really going to hurt . ...Show All

  • SQL Server setting date formats

    Hi. How may i manage differents date formats in a database (Ex. In Honduras we use dd/mm/yyyy , in other countries yyyy/mm/dd, in USA mm/dd/yyyy. Recently i was creating a simple app which extract a date from calendar control and filter the records for the selected date. The problem is when previously the record is saved. It uses a different format, and the selected date does not match with the saved date. I use Win XP Pro Spanish, Visual Studio 2005 English and SQL server express 2005 use the TSQL function CONVERT() with the thired STYLE parameter as defined below Without century (yy) ( 1 ) With century (yyyy) Standard Input/Output ( 3 ) - 0 or 100 ( 1, ...Show All

©2008 Software Development Network