DigitalPenguin's Q&A profile
Visual Basic rich text box control cannot paste.
rich text box control cannot paste when i select any thing(it may be image or text from internet explorer) and paste it in a msword it has got pasted including image and text when i do the same copy paste in my application which contain the richtextbox control i am unable to paste the images and i can paste only the links of the images can any one help me in pasting the images and text Hi, Try this, Before you run your program hit the PrintScreen button on your keyboard. Now run the program and left-click in the richTextBox. PASTE or Ctrl+V and you should get the window image within the richTextBox. This works for me without altering any of the richTextBox properties. Regards, S_DS ...Show All
SQL Server How to pass multi-value parameters to DDS (data driven subscription)?
Using RS2005, how should multivalue parameters be stored in a database field so that a data driven subscription can properly read and use them I have so far had no luck using syntax of: 1) parm1, parm2 2) parm1,parm2 Do single qutoes need to explicitly wrap the values Can you please provide an example and a SQL INSERT statement using parm1 and parm2 to demonstrate what to store in the database field Thanks!! Is there an example of how to do this somewhere We use the report manager to create our data driven subscriptions today ... and I havent tried one of our reports with multi-value ...Show All
SQL Server Error Trying to Import MS Access 2003 database via SQL Server Import and Export Wizard - Too many sessions already active
I am trying to simplify a query given to me by one of my collegues written using the query designer of Access. Looking at the query there seem to be some syntax differences, so to see if this was the case I thought I would import the database to my SQL Server Developer edition. I tried to start the wizard from within SQL Server Management Studio Express as shown in one of the articles on MSDN which did not work, but the manual method also suggested did work. Trouble is that it gets most of the way through the import until it spews forth the following error messages: - Prepare for Execute (Error) Messages Error 0xc0202009: {332B4EB1-AF51-4FFF-A3C9-3AEE594FCB11}: An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record ...Show All
.NET Development Is remoting for me?
He! I'm from Delphi, in this languaje we use a component named Midware that permit execute remote funcions in a sever, and this return data objects with the funcion results. This remote functions allow paramters and return normal types or structurated data objects like multidimensional arrays or custom objects writed by us. This component use TCP sockets (ip:port) to comunication without domain or workgroup configuration. I 'm looking for a writed component that do the same in .NET, exist or i must program my own "MidWare" component for .NET using Remoting and Serialization Regards. I find the answer in Google with a little, simple and clear example way to do it. I want delete o edit this post but MSDN forums engine return ...Show All
Visual Studio Express Editions richtextbox with 2 lines only
there's a way to create a richtextbox with only two lines and 35 characters per line thank you, rimysoft sure. Well what you can do is implement the keydown event and check to see if Enter or return was pressed, if so, then check to see if an existing return key was pressed (Environment.NewLine) if so then cancel the event. Example: private sub richTextBox1_KeyDown(byval sender as object, byval e as KeyEventArgs) handles richTextBox1.KeyDown if e.Keys = System.Windows.Forms.Keys.Return Or e.Keys = System.Windows.Forms.Keys.Enter then if Me.richTextBox1.Text.Contains(Environment.NewLine) then e.Handled = true 'cancels the event end if end if end sub doe ...Show All
.NET Development Try refreshing the table adapter
It is my understanding that when using a TableAdapter and selecting the proper options, Insert, Delete and Update statements are generated. The Update statement should work just using the following: myTableAdapter.Update(changes); Where changes is the DataSet containing the modified data. This logic works great for one of the tables in the DB but not for another. Learning this new stuff is Confusing at best - Frustrating at worst. Help appreciated, Michael i' ve this problem also, but i even can't mark the chek box "refresh the data table" because it is not enabled. i use the vs 2005 express verision. may it's the reason is somebodt know if i can update the database table with the ...Show All
.NET Development Add account into the Performance Counter Users Group or give admin rights?
My user has non-admin rights; from remote machine launches an application; getting exceptions below. However, admin account has no problem. I have done that part: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> it did not help me out. From link http://msdn.microsoft.com/netframework/programming/bcl/faq/SystemDiagnosticsProcessFAQ.aspx I found about Performance Counter Users. Do I need to add user into this group; in that case HOW How do I use the Process class under a non-admin account From Windows Server 2003, you will get an exception if you try to get process performance information under a non-admin account. The workaround is to add that account into the ...Show All
Visual C#
Hi! Could anyone tell me what the following code does exactly,please Regex.Replace(strInput, "[^\\w\\s]", ""); Thanks in advance! No What he was saying and If i would have seen it I would have commented. the - character specifies ranges. For example [a-zA-Z] specifies all characters a though z and A through Z. Thus if you want to use the - in side of a group as in actually match that character it has to be the LAST character. Which is why the - was placed at the end. So my explanation should have been Match all characters that DO NOT (^) match (\w alphanumeric characters) and \s (white space and tab) and - (hyphen) and replace them with "" Remember the ^ ...Show All
Community Chat Free Lists - Just a Q & D app I needed.
http://www.barrysumpter.com Free Lists is the only app there written in vb.net. Don't worry about the other products. I've only sold 1 of each. I have no fantasies or pretentions regarding sales. Best intentions to offer Free Lists as a usable product developed in my spare time over a three day period. Standard, evironments, interfaces change so often I've given up trying to conform. For me, vb.net has been an absolute nightmare. Any features left out are from frustration only. Any positive comments are welcome. Any positive constructive suggestions may very well end up in the next version. All the best to everyone. My ISP community forum informed me of a way to fire IE7 Without Add-ons. Right click IE7 ...Show All
Visual Studio Express Editions [VC++ 2005] Is it possible to compile a Windows Forms Application to Win32 binaries ? :-)
Greetings, :-) I have Windows Forms Application project developed in Visual C++ 2005 Express edition. :-) I want to compile it into Win32 binaries (not MSIL). How to do it :-) Thanks in advance :-) There's no simple way to do it, but you can try this mess and see if it works for you. And nobody's that happy, man. You're creeping me out. ...Show All
Windows Live Developer Forums Don't get it
I cant get the gadget to work. I did what the instructions said but cant get it to work http://www.izonnet.se/msntest.php/ Hi Jeek, You've got a typo in your source code: "names += p_contacts .names", but the field on the p_contacts[] data is "name", with no s. Also, keep in mind that if the contact info for a particular contact does not have a value for a requested field, that field will not be defined on the returned data object. For example, if you ask for (name,email, country) and the user selects a contact which doesn't contain any country info, the country field will not be defined in the return data object. This makes data handling a little more complicated for your co ...Show All
Windows Forms Allowing a form to stop the application shut down procedure
An application has a main form, which opens other forms. If these forms have the main form as owner (eg. by using otherForm.Show(MainForm)) then when the application closes each form has to ability to cancel the shut down procedure in the FormClosing event. However using the otherForm.Show(MainForm) method to open a form, makes this form always to stay on top of the main form. Not using this method to open a form, does not allow that form to cancel the shut down procedure of the application (when the main form closes). Is there a way to have both! (i.e. allow a form to cancel the shut down procedure, but not keep the form on top of main form) Thanks, Dimitris There is a harder way if that floats your boat. You could allow the startu ...Show All
Game Technologies: DirectX, XNA, XACT, etc. MDX and XNA
Is MDX being phased out by XNA I googled around and quite some helper libraries and tutorials provided by others are being converted from MDX to XNA code, and there's also this notice on the DirectX SDK that says that MDX 2.0 beta is no longer supported and have to go back to MDX 1.1. So what is the status on MDX Is it out of development and that XNA is its successor Since I have answered this question a lot now. I've blogged a summary http://www.thezbuffer.com/articles/470.aspx which I will keep up to date with anything new that I learn ...Show All
Visual Studio 2008 (Pre-release) Repeating MediaElement
Hi, I am displaying MediaElement on button. Could anyone please help me in looping the MediaElement so that it never ends. I am using Feb CTP. Thanks in advance for helping Which is the attual status of repeat behaviour in MediaElement used in VisualBrushes In code below I show two different ways I followed to play media in loop. First one seems doesn't work, second one works but, after some cycles, with serveral media, events fire no more and video stop looping. me = new MediaElement (); me.Volume = 0; //// 1° METHOD me.Name = "video" + countVideo.ToString(); me.UnloadedBehavior = MediaState.Manual; countVideo++; this.RegisterName(me.Name, me); Me ...Show All
.NET Development Can you send me the code 2, pleace
Hi, Im using a custom UsernameTokenManager in WSE 3.0 but it always authenticates when it should'nt. I'm missing something but don't know what. my Web Service code is: using System; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; [WebService(Namespace = " http://tempuri.org/ ")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [Microsoft.Web.Services3.Policy("usernameTokenSecurity")] public class Service : System.Web.Services.WebService { public Service () { //Uncomment the following line if using designed components //InitializeComponent(); &nb ...Show All
