Answer Questions
Xcel Odbc and OleDb to VFP with tables of 64 or more fields and records of 1000 or more problem
I am trying to move data from SQL into VFP tables. On this particulare table i have 80 columns and approx 14000 records. I have the Data in a DataSet and create an insert command. I found the odbc has a problem with more that 64 columns and more that 1000 records as shown below. I thought I would try OleDb and it has the same problem. Any idea of a workaround This is ridiculous. Gary http://support.microsoft.com/default.aspx scid=kb;en-us;275577 Consider linking the FoxPro table to the SQL Server and then fire a single INSERT statement to move the rows. That would be faster and more robust. Have you considered breaking up your single table into multiple related tables ...Show All
dreameR.78 newbie question webservice setup and deloy
i had a webservice on my computer. Now i want to setup it into another computer. How can i do it and how can i config webservice. Thank for your help. You can deploy your webservice just like any other ASP.NET application, here you have a couple of links: http://msdn2.microsoft.com/en-us/library/ms178610.aspx http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/e317e63b-7572-4740-90bb-073eef1bcb17.mspx mfr=true But you can find much more googling ASP.NET deployment for example. Rgds, Rodrigo ...Show All
Assaf Stone Hash Table
I am just wondering about the uses of HashTable. when should i use a hashTable to store data Can i save the entire hash table into a file and can i read that file later using C# please let me know. Thanks cgraus wrote: A dictionary is a hash table, not sure why there are two, what the difference is, but the reason you use a hash table is so you can provide something other than a number as a key to look up your values. A common example would be something like a situation where your class has Customer objects, and they each display a name in a drop down list. Assuming the names are unique, a hashtable could be used to take the selected text from the combo box, and use it to look up the Customer ob ...Show All
phanf Unhandled Exception - Object reference not set to an instance of an object
I've installed drivers for my HP printer but I keep getting an unhandled exception with the following detail: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at HP.CUE.Video.PlaybackControl.UpdateProgressBar() at HP.CUE.Video.PlaybackControl._ProgressTimer_Tick(Object sender, EventArgs e) at System.Windows.Forms.Timer.OnTick(EventArgs e) at System.Windows.Forms.Timer.Callback(IntPtr hWnd, Int32 msg, IntPtr idEvent, IntPtr dwTime) ************** Loaded Assemblies ************** mscorlib Assembly Version: 1.0.5000.0 Win32 Version: 1.1.43 ...Show All
yonelay C# , Sending email through exchange server?
I've searched on this and tried several methods using System.Net.Mail but I can't get it to work. I want to send email using the Exchange server they have at work. Anyone could show me how to do this (server requires authentication) Thanks in advance since I dont have an exchange server to test with, what happens if you take out the DeliveryMethod part of the code in regards to the networkcredential, I believe (but I guess it depends on the SMTP Server on how authentication works) that the username should be the email address of the sender ( From@Fake.com ). I'll see what else I can dig up. make sure that the firewall is not blocking the request from both your client computer and the server. as ...Show All
susantez Coding a for loop for multiple threading and automatically timing out long running threads.
I know most programmers including me could work out a solution for this, but I was thinking that there may be features built into .net2005 which cover this functionality in a neat way. I haven't done much threading before but have a serious timescale pressure so any help you can give with this would be appreciated... I need the following pseudo code: dim th(10) as threading.thread for each obj in collection ' collection has perhaps 5000 elements ' terminate any threads that have been running longer than their timeout - say 60 seconds ' pick up the first available thread, or sleep if there are no available threads. ' execute that thread to process obj t.Execute(normal, AddressOf mysub, obj) next I was w ...Show All
Casius211362 Exposing a Shared Assembly in the Add Reference Dialog in .Net
Hi I have created a sample shared assembly and installed it in the GAc using the following command GACUTIL /i SharedDemo.dll After this, when I browse to <windir>\Assembly, the Above assembly is viewable but if I try to view it in the Add Reference Dialog in C# or Vb.Net, I can't. Please assist. Thanks in advance Devesh Hi I have created a sample shared assembly and installed it in the GAc using the following command GACUTIL /i FA.dll After this, when I browse to <windir>\Assembly, the Above assembly is viewable but if I try to view it in the Add Reference Dialog in C# or Vb.Net, I can't. Please assist. Thanks in advance sushil Thanks Rabbi for your q ...Show All
gcox18 enter between lines
hi I have some experiences to use StreamWriter. but now I am going to use memoryStream to buffer data and save it inside the database. instead of using StreamWriter. I need to have the informations in lines but MemoryStream doesn't support WriteLine method! so all of my information will strore just in one line. but I don't want it in one line. how can I solve this problem thank you in advance regards hi Environment.NewLine between lines was my answer thank you very much Hi, could you give some more information around what you are trying to store furthermore, using a stream to save some things in a db if this is a large string you need to sav ...Show All
detzX ANNOUNCING: Xml Notepad 2006
Download, including source code, from: XML Notepad 2006 Design doc at: http://msdn.microsoft.com/library/en-us/dnxmlnet/html/xmlnotepad.asp Handy features include: Tree View synchronized with Node Text View for quick editing of node names and values. Incremental search (Ctrl+I) in both tree and text views, so as you type it navigates to matching nodes. Cut/copy/paste with full namespace support. Drag/drop support for easy manipulation of the tree, even across different instances of XML Notepad and from the file system. Infinite undo/redo for all edit operations. In place popup multi-line editing of large text node values. Configurable fonts and colors via the options dialog. Full find/replace d ...Show All
xRuntime Exporting DataGrid to Excel
I have a windows form containing a datagrid. There are some buttons which i use to query a database and the results are loaded into the datagrid. I want to export the contents of this datagrid to an excel file. How can i do that in code Thanks. Hi: Everything works ok, but... What if i want to overwrite the excel archive How can i avoid the question of ( Do you want to replace it ) Thanks You could use FileInfo class to check if file with the same name already exists. If yes, then you could "silently" delete it from the code. There is no direct way to do this, but there are several ways to accomplish it using your code 1. Use Jet OLEDB Provi ...Show All
PK_VBE05 Installer Launch Conditions Available Disk Space and Processor Speed
I am trying to add a launch condition to check for available disk space before uses can install my application. I tried to use the PrimaryVolumeSpaceAvailable Property but it looks like it has no value at launch. I also wanted to check the processor speen so I used a registry search to HARDWARE\DESCRIPTION\SYSTEM\CentralProcessor\0 to get key '~Mhz' , its returning the correct value but with a #, I wanted it to return an integer so I can use it to set my cpu speed launch condition. Please help please do not duplicate posts: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=739489&SiteID=1 thread will be merged when the servers are back up You should postpone looking for available ...Show All
pmak Regex behavior
I have the following regular expression: <%( <one>.+)%>(<%( <two>.+)%>) I apply it to the following: “<%this is one%><%this is two%>” After running the regex, one contains “this is one%><%this is two” and two contains nothing. Without the “ ” at the end, one contains “this is one” and two contains “this is two”. If I use the “ ” at the end and run the match from right to left one contains “this is one” and two contains “this is two”. This is what I expect. I do not understand why using “ ” at the end causes the match to skip the first “%>” and go to the ending “%>”, especially if it works without the “ ” and with a right ...Show All
Brian Tucker How to keep a thread running?
Hi, I have the following issue and the odd part about is that I had it already working however I don't know what I changed that it doesn't anymore. I runtime compile a class, create an instance of it and init it on a different thread. In this init the class subscribes to a couple data dispatchers and should now wait for incoming data. When I first implemented this it kept running after I subscribed to the dispatchers until I aborted the thread. However, now it subscribes and after that exits the thread. Any idea how I can keep it running without putting it in a wait loop Thanks, Tom Hmm, don't know where to start... Sounds like a WorkItem doesn't actually do anything. You say you're subscribing to ev ...Show All
abhishek_6023 .NET 3.0 breaks printing subsystem on non-english XP / VERY ugly effects
After installing .NET 3.0 on non-english XP two things will break parts of the printing subsystem: - parts of XPS are installed in English, i.e. unidrv.dll / unidrvui.dll / unires.dll etc. are non-localized As a consequence Printing dialogs of all unidrv.dll-based printer drivers show mixed output localized/english. And the default Input Tray is set to 'Automatically Select' even on a german XP which leads to strange effects like printers suddenly asking for paper in the Manual Tray instead of using Tray 1 as usual. - unidrv.dll / unidrvui.dll / unires.dll etc. are Windows Vista DLLs and incompatible with many XP Printer Drivers As a consequence some printer drivers will print all pages of multi-page documents on one sheet, all ...Show All
Earl Hood GMT-8 to GMT+0 (UK) with consideration for british summer time?
I'm using a server where it's time is GMT-8. Im using DateTime so how do i convert it to GMT+0 taking into consideration British summer time as im based inthe UK. Thanks for your time. Paul. ahmedilyas wrote: Thanks Peter. But I cannot see the Convert method in the TimeZone, one reason why I mentioned perhaps using the ToLocalTime() Am I missing something Sorry, my quoted "convert" wasn't meant to suggest using a method named "Convert". Yes, gernally ToLocalTime() is what you use tp convert to a local time. The Pacific timezone has its own rules for daylight savings time. Try very hard to obtain the UTC time of the server resource. Windows stores all file t ...Show All
