indortas's Q&A profile
Visual Basic html editor in visual basic
Hello everyone, I would like to know how to build an HTML editor with (drag and drop) in Visual Basic. I'm just looking for drag and drop into html editor and autoamtic write code themself. Does anyone know how to build that in Visual basic or is there is any sample website where i can learn more about the drag and drop html editor! Alidad I sent you the project and the SDK. It's always helpful when you have errors to tell us what they are. Goodluck! ...Show All
SQL Server SQL DTS
Background..... I have Front End VB6, and Back End Access... Access is mainly a Data Dump...a bunch of tables and data...NO queries, forms etc in Access...just Data and indexes My Question is.... Is the DTS Import Feature supposed to convert Access(including Indexes, Primary Indexs) into SQL Server B/c as far as i can it is doesnt do that If so where in SQL Server should I be looking b/c i must be blind. Second, i am getting this error when importing tables via the DTS...i have gotten this s few times before and found it was bad data...but this record the data is good..and i cant seem to figure out what SQL is telling me. ERROR MSG ...Show All
Visual Studio 2008 (Pre-release) DLinq vs ObjectSpaces
I wonder what are Microsoft's plans about ObjectSpaces now that DLinq seems to be the official O/R mapper for .Net for the near future. I see there are a lot of differences between the two, but will ObjectSpaces be supported in the future Cheers, Gabriele the approach this time is more minimalist and I think that will be better for users in the long run. Agreed. And credit should be given where credit is due. Thanks for adding paging support, and stored procedure support, etc! ...Show All
Windows Forms Cntl - A or Cntl-F in a multiline text box
Why can't I use either in a multiline text box. Cntl-A is most important for me, rather than having to click at the top and scroll down the whole text. dennist685 Hi, I just sent you a mail containing the project that I tinkered with. Try tweaking it and to find out what part of your code is missing... BTW, got a problem on sending a rar file to gmail. So I removed the extension. Just rename the file to .rar upon downloading. cheers, Paul June A. Domag ...Show All
.NET Development Storing asian text in sql server express using sqlclient
I have a problem storing Chinese text in an sql server express 2005 database which runs on a western version of XP. There is no binding in my app. The data is typed in a user form and in a button_click event stored in a table using the command object of the sqlclient, executing sql statements like insert or update. Everything's fine, except that Chinese text will not be stored in the tables correctly, instead of the characters I only get question marks. In the sql server express managing tool, I am not able to type in Chinese characters into the fields directly either, but I am able to copy and paste them there. That way the Chines ...Show All
SQL Server find primary and foreign keys
I have a DB with 100 tables. I was wondering if anybody knows a quick way to list primary and foreign key with the column name for all the tables. Your help would make my life a lot easier thanks Hi, The below will list all PK's: SELECT o.name AS 'TableName', c.name AS 'PKColumnName' FROM sysobjects o, sysindexes x, syscolumns c, sysindexkeys xk WHERE o.type in ('U') AND x.id = o.id AND o.id = c.id AND o.id = xk.id AND x.indid = xk.indid AND c.colid = xk.colid AND xk.ke ...Show All
Windows Forms how to filter out duplicate values?
I have a DataTable with the following schema and sample data: ProductID | LocationID | ProductName | Quantity | SellingPrice --------------------------------------------------------------------- 1 | 1 | xyz | 10 | 5.0000 &n ...Show All
Visual Basic Media Player control?
Is there a way to play a movie in my vb.net app yes of course kent go to tools->choose toolbox items->Com Components and then find Microsoft media player and add it then u will show the object in toolbox-General section ...Show All
Windows Forms A bug? Nobody answers this kind of question, MS Fellows?
I found quite a few question about initializing default value programly throught BindingSource in this forum,but noboby give a satisfied answer for it.We used only a bindingsourse,bindingnavigator,and a typed table with a rowguid pk column,and a few field needed to be initialized.I think this is a common scene in work. private void tableBindingSource_AddingNew(object sender, AddingNewEventArgs e) { BindingSource bs = (BindingSource)sender; DataView ...Show All
SQL Server linked server
how can i make a linked server in sql server for Sybase adaptive server anywhere 9.0 http://support.microsoft.com/ id=280102 -- Adding linked server: exec sp_addlinkedserver @server = 'Sybase Linked Server Name' , @srvproduct = 'Sybase', @provider = 'MSDASQL', @datasrc = 'Sybase System DSN' -- Adding linked server login: sp_addlinkedsrvlogin @useself='false ', @rmtsrvname = 'Sybase Linked Server Name', @rmtuser = 'User Name', @rmtpassword = 'Strong Password' ...Show All
Visual Basic Help.
How do I create a grid of pictureboxes (25 x 25) on Visual Basic 2005 and auto-name them pbx(row)_(column) for the picture boxes It is to slow and hard to manually rename all 625 of them. Ok question answered, thanks. New question: OK, I ran into another problem. I want it be so that if I click the picture box with the person in it, you can move him by clicking on another tile. How do I do this (I tried (got from Dustin_H 's sample code) : Private Sub PicBox_On_Click( ByVal sender As Object , ByVal e As EventArgs) If PicBox(x, y).Image = Tiles.picPerson.Image Then &nb ...Show All
Software Development for Windows Vista Where is IIS in Vista 5219?
I had installed Vista Beta 1 and as it should be, IIS was not enabled by default. In Vista 5219, I don't even have the service listed "World Wide Web Publishing Service." Am I missing something Where is it I can't do Indigo development without it. its funny yo. After installing IIS, i even cant find IIS Management in Administration Tools. Where is that im using vista home yo. cheers ...Show All
SQL Server Need SQL for distinguishing SQL 2005 from 2000 and 7.0
I want to use 'ALTER LOGIN' if the SQL Server is running 2005, but have to use sp_password if it's SQL 2000 or 7.0 Currently I use the following SQL to determine the version: int nVersion = 7; // this will throw an exception on 7.0 rs = con.execute("SELECT SERVERPROPERTY('productversion')"); if (rs != null && !rs.getEOF()) { strVersion = rs.getField(0).getString(); if (strVersion == null) strVersion = "7."; strVersion = strVersion.trim(); int nIdx = strVersion.indexOf("."); strVersion = strVersion.substring(0, nIdx); nVersion = Integer.parseInt(strVersion); } Can anyon ...Show All
Visual C# Question about objects behavior
I have a Class called animation. This Animation has a member of type Bitmap. It also has an arraylist member that holds objects of Frame type. When creating a frame object, a parameter of the constructor is the bitmap which is passed in as the Bitmap object that is part of the Animation class. Some operations need to be done on the Bitmap for the entire animation and thus these are performed by the Animation class. Some operations are done on the frame level so these are done by the individual frame objects. Here comes the question... I pass in the Bitmap to each frame (I've tried by value and by ref) and ...Show All
.NET Development Problem With AppDomain.Unload() in Remoting scenario
Hi to all able programmers here, I have the problem with AppDomain.Unload() method. It throws me the following exception: System.CannotUnloadAppDomainException: AppDomain can not be unloaded because the thread a64 can not be unwound out of it. Please somebody gives me some help to figure out this. Any help will be deeply appreciated. Best Regards Hi c#Coder, AppDomain.Unload() does something of a "rude shutdown" on the AppDomain, calling Thread.Abort() on each thread running within it. To lessen the chances of your threads being left in a weird place, try to gracefully shut down ea ...Show All
