Ok no-one replied so I trawled t'webnet thing and sussed out the web.config file. added two settings in there(LiveEnv and DevEnv database connection strings) and retreived using the system.web.configuration namespace. Just in case anyone struggles like mad like me here is how I have done it.:o...
Yeah I had a look and was suitably warned off. Ideas above my station by the sounds of that. :D I think I'll leave it.
As a side point I am looking at creating an instance of MSWord application, add a document and then handle the saving of the document in the documents' documentBeforeClose...
Is it possible for me to have a windows form in my project with a MS Word doc edititing control on it and restrict the file save location on that doc? I have created an rtf editor using the richtextbox and was storing the rtf & embedded images in sql server and then loading into editor later but...
Hi
I'm developing a system in VS.NET 2005. There is myself and 1 other developer. I have referenced various COM components such as MS EXCEL + WORD. All is fine and I can run the app nice and easy. However when I checked my code in that makes calls on these components my colleague gets issues...
Hi
I am struggling with this even though it is possibley the cackiest problem ever.....
I have an MDI app. Main form with a menuStrip. Different child forms created by users. On maximisation of a child form I want to bung all the menu or toolstrip items of that child to the menu of...
How do John
I was trying this also but after the rtf.remove I interogte the strString variable it is unchanged from what is in the rtf before the call to remove? You ever used it?
strString = rtbNewsItem.Rtf.Remove(rtbNewsItem.SelectionStart, rtbNewsItem.SelectionLength)
Cheers
Moorzee.
Clipboard.SetText(rtbNewsItem.Text.Substring(rtbNewsItem.SelectionStart, rtbNewsItem.SelectionLength))
rtbNewsItem.SelectedRtf.Remove(rtbNewsItem.SelectionStart, rtbNewsItem.SelectionLength)
Why is this not doing anything for me? The clipboard has the selected text but the selectedrtf.remove...
After messing about with this all day I decided to check the rtf I was writing to the sql server and guess what...... My image was simply referenced as ole embedded so no way of showing image!!!!!
Problem was I was simply copying image from ms paint or whatever and pasting into the RTB with...
Hello all.
Have any of you ever stored the contents of an rtb as an IMAGE in SQL Server 2000? I have gotten as far as storing the text(formatted) from a rtb with
.Parameters.Add("@Main_Body", SqlDbType.Image).Value = Encoding.Unicode.GetBytes(rtbNewsItem.Rtf)
but as soon as the getbytes hits...
I am a vb.net (newbie and not the best to be fair:) )and my company has suddenly decided they want a web based app for contractors to access and check what orders we are allocating to them. How difficult is it going to be for me to knock something up? Any pointers as to best practise with...
Vis.
I tried adding my images from the camera to a List(of Image) list but each time I add image the height and width are stored as 1 and these are read only. Have you used the list of image before? Same thing with an array of images also. I breakpoint on the line which adds image and the...
That's as I thought to be honest CJ. Done my head in for the last 2 days. I also tried with my personal sony ericsonn w800i but still the same thing. Oh well that's life hey? :)
I'm lost.
I have another thread\question currently regarding ripping images from a mobile camera phone. Have instaled the camera phones software(pc suite samsung) and looked and found a COM object that I can reference and have found two interfaces, IDevice and IConnection. I create myself a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.