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

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

Krad

Member List

Peter K
Manash
battlex
Exclude
RibenaUser
nickst
newyuppie
swapna_n
cmwith
KervyChoa
David S. Anderson
chunkai
WinFormsUser13232
Rolle
Scott Tachiki
Rod Yager
KarimRadi
ralph.
Jonathan Howard
ZaaM IT
Only Title

Krad's Q&A profile

  • Visual C++ How to find similar or matching word?

    How to find similar or matching word For example i have a string, string 1 = cat IF  "ca" match with string1 or this two char "ca" is inside the string1, then it will return true if i use string1.Find method, it match only the same case string, how to make it ignore case or is there any other method to do My apologies: there is no stristr(). It's a utility function I wrote myself a while back (making it look too much like a standard function). If you don't want to take a perf hit from normalizing your strings to upper case before searching, you might want to check out this solution: http://www.velocityreviews.com/forums/t286357-case-insensitive-stringfind.html ...Show All

  • .NET Development SQL Compatibility

    I'm putting the finishing touches on an application I wrote for a Symbol MC50. I have a fairly large text file that I transfer from a PC using 802.11 then I load it into a SQL CE database on the MC50. It works but it takes about 10 minutes. Would it be reasonable to create and load the file on the PC and copy the SQL file to the MC50 I'm using VB in VS .NET 2005. I just tried to buy your ebook at your web site but I received a notice that I'd get an email when it's ready. Is it available at Barnes and Nobile I'm really not very familiar with any of the terms you use above after about the second sentence. The only examples I can find for building creating an SQL database on the PC create a database with an ...Show All

  • SQL Server merge replication - how can I synch

    we have a merg replication running in three regions UK,USA and AU my question is in one of our test environment testers managed to get a few tables out of synch while the replication is out. we have re-established the replication since then and it worked fine untill they try to update records from those out of synch tables. as usual we get conflicts. we don't really know how many tables are out of synch either. we have about 500 tables. is there a way to synch tables from with in the merge replication You can use the conflict resolver to see which tables have what conflicts and with which subscribers. You may also want to take a look at proc sp_addmergearticle parameter @compensate_for_er ...Show All

  • Visual Studio Error in installing MS J# Redisribuable Package 1.1

    I could not uninstall my Visual Studio 2003 using Add/Remove programs tool, so I removed it as written in this article http://support.microsoft.com/kb/824642. Now when I tryed to install it again I got error that MS J# .NET Redistributable Package 1.1 cannet be installed, so I cannot continue installation. How can I remove J# .NET RP 1.1 completely and install my MSVS2003 Can you send me your logs. You might want to look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=144857&SiteID=1 for some ideas on how to remove vs2003 including J#. Aaron ...Show All

  • Windows Forms Deployment with Visual c# Express edition

    Hi, when I tried to deploy my Visual C# 2005 Express program, I could create a setup.exe, which installed my program without questions about the directory for my program and without the possibility to install some extra files (for example .mdb). I read about ClickOnce (for Express-Versions) and Setup (for Professional Version) deployment in a feature-list for all Visual Studio products. A ClickOnce deployment can do quite nothing – or did I oversee something Are my problems only with a setup-deployment to solve The documentation to this topic is very “thin”. Regards Kalli Hi Kalli, Click once installs the applications in a predefined location. c:\documents and sett ...Show All

  • Visual Basic Vb language API doc

    Hi, Is there any thing in vb or .Net reference/doc that is similar to java jdk api doc It's hard to see in MSDN what related to what in the big picture. Thanks for your answers. roisaonua ...Show All

  • SQL Server Loading data from xml

    I have an xml file I want to use as the source. It's not overly complicated, but not simple either. It has one hierachy, and one optional field and looks like this a 1 'text' 2 'text' b 1 'text' 2 'text' 'optional field' Ok, now I want the data to load like this: a,1,text a,2,text b,1,text b,2,text, optional field but when I try to use the xml source it won't create the xsd...anything I can do Just follow the Mark Durley's advice. First, transform your original XML file into another well shaped XML file, consumable for SSIS, by using XSLT transformation. Second, load well shaped XML file into a destination database. Regards, Yitzhak ...Show All

  • Visual Studio 2008 (Pre-release) Return a strongly type DataTable problem

    I have a method which will return a strongly type DataTable in WCF service. While calling it in client it will return a new DataTable but in fact it should return 5 records. Anybody know what happen and how to resolve it Thanks, Zhihao For example: I have a method named "GetCode" in service: public TFDataSet.T_CODE_TABLE GetCode(). it will return 5 records normally from DB. but now it return 0 records. I don't know why ...Show All

  • Visual C# Cross-working between two or more Forms

    I suspect this is a very basic question, which I just haven't encountered so far in the literature. Writing in C# within VS 2005 for Windows Forms development, I want to develop an application which consists of two or more different Forms. I want one of these Forms to contain all the control buttons for driving the application, these buttons causing different actions on the other Forms. When I tried rather simplistically to create and run a trial application consisting of two Forms, with a button on one intended to change the text of a label on the other, it failed at compile time, with an error message saying that my reference to Form2.Label1.Text, was not allowed, IIRC because of the security settings. What should I have done to ...Show All

  • Visual FoxPro Autoincrement and default values with Foxpro tables and ADO CursorAdapters approach ??

    Using VFP 9 SP1 is very easy and powerfull to connect to different Database providers (SQL Server, Oracle, etc.) using ADO Cursoradapters (CA). Using ADO CA we can retrieve from the database server the values for Autoincrement fields and the default values if there are defined and woks just fine. The question that I have is there is possible to do the same using Foxpro Tables: to get in the CA the values for Autoincrement and default values Thanks Ivan Sorry, but this is totally different question, I had other post regarding information about Foxpro UDF and Cursoradpaters wich I found the answer by myself. Perhaps the topic cursoradapter sounds similar but it is a big chapter and this particular question is ju ...Show All

  • Windows Forms BackgroundWorker

    I am not sure how I need to procede. I am using BackgroundWorkers to handle some long running tasks. I have a button that allows the user to stop the form. The stop button disposes of the timer. I use cancelasync with the BackgroundWorker, but the RunWorkerCompleted still fires. I tried using BackgroundWorker.CancellationPending to prevent the RunWorkerCompleted code from firing and it doesn't register that the BackgroundWorker has been cancelled. Is it possible to solve this problem The RunWorkerCompleted will still fire. Just use e.Cancelled to determine whether the run was cancelled. ...Show All

  • Visual Studio 2008 (Pre-release) Custom fields

    Hi, First of all, great work! Our application has the notion of custom fields which are stored directly in the owner table with alter table statements by a nice ui. As far as I know from the documentation, that scenario is not really possible in the present release. What would be needed I think is a new element as children of EntityType like this < EntityType Name = " Client " Key = " ClientId " > < Property Name = " ClientId " Type = " Int32 " Nullable = " false " /> < Property Name = " Name " Type = " String " Nullable = " false " MaxLength = " 50 " /> < Property Name = " Age &quo ...Show All

  • SQL Server Please help with "Data Mining Add-ins for Office 2007 - CTP December 2006"

    I am running the Office Professional Plus 2007 RTM with all options enabled and SQL 2005 Enterprise Edition. Based on the system requirements listed on the download page for the Office 2007 Data Mining Add-In, I've also verified that I have the correct CTP of SQL 2005 SP2 and that .Net 2.0 Framework is installed. Finally, I've verified that my local instance of SQL Server is configured correctly to allow temporary data mining models. In Excel, all of the Table Analysis tools seem to work fine, and most of the options on the Data Mining ribbon also work; however, all of the options under "Data Modeling" on the Data Mining ribbon return the following error when I try to use them: "Could not load file or assembly 'Micros ...Show All

  • Visual Studio Tools for Office Word/VSTO 2003 : Odd MailMerge Behavior

    Solution: Office 2003 Pro using VSTO 2003 Word Template I have a situation that I'm finding rather strange, and am trying to understand why this is happening the way that it is ... the situation is as follows: I have a Word Template that contains MailMerge fields, when the template is Opened, I connect-up the MailMerge.DataSource and execute the merge. The resultant template is saved back out as a Word Document (.doc) file. All this works just fine. For some odd reason, some saved documents (.doc), when opened back up, immediately attempt to execute a merge again, actually executing the SQL statement that was bound to the DataSource; this is happen before a single line of my code is being hit. Other documents do not do this, yet all the lo ...Show All

  • Smart Device Development [Smartphone-c#] Word files

    hi! i have created an application that open a specific *.doc file in a directory. but when i try to run it the smartphone gives an error on the "Microsoft.Office.Interop.Word.dll"... i have tryed to import the dll and copy it on the phone, but it doesn't work... why     //-------------------------------------------------// this is the error message: TypeLoadException was unhandled" Corpo: "File or assembly name ' Microsoft . Office .Interop. Word , Version=10.0.4504.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35', or one of its dependencies, was not found. so..when i import a doc file it would be converted to a mobile one but if i copy a desktop one on a memory card ...Show All

©2008 Software Development Network