|
Yes, there's an article regarding this here on codeproject. please search.
#include "witty_sig.h"
|
|
|
|
|
Hi All
Does anyone have any good references for regex in .NET.
Online, pdf, or hard copy.
Cheers
JB
Not Bitter, Just Twisted
|
|
|
|
|
hi,
You may try out this site...
It was a good collection of regular expressions... itz a library kinda stuff... I have found it very helpful...
Regular Expression Library
regards,
Aryadip.
Cheers !! and have a Funky day !!
|
|
|
|
|
I recomend the 'Regulator' as a tool for writing and testing regular expressions.
http://royo.is-a-geek.com/iserializable/regulator/
Try not! Do or do not, there is no try. - Master Yoda
|
|
|
|
|
Hi All
I am having propblems moving from the vb6 version Rich Text Box (RTB) to the .NET one.
1. The .NET version RTB seems to have stripped a lot of the properties and moved them to the font property.
This is a problem when you have multiple fonts selected and can no longer access these previous properties independently.
The properties are:
* SelSize (The font size of the selection)
* SelBold (Whether the selection is bold or not)
* SelItali (Whether the selection is italic or not)
I can retrieve these properties by regexing the actual Rich Text but I would have thought there was an easier way.
TIA
JB
Not Bitter, Just Twisted
|
|
|
|
|
Would the following work for you?
Font regularFont = this.richTextBox1.Font;
Font boldFont = new Font(regularFont, FontStyle.Bold);
Font italicFont = new Font(regularFont, FontStyle.Italic);
this.richTextBox1.SelectionFont = boldFont;
this.richTextBox1.SelectionFont = italicFont;
... and so on
#include "witty_sig.h"
|
|
|
|
|
hi all,
can any one tell me how to select a node in the treeView begining with a string of character like "A" or "BC...".
thanks in advance.
|
|
|
|
|
You would have to start at the top of the TreeView controls Nodes collection and iterate through the nodes, comparing each to the string that you want. When you reach a Node with children, you'll have to iterate through those also. When you find the Nodes that your looking for, just set their Selected property to True.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
Hi,
I keep on getting this pain in my butt error whenever I change some code and resubmit to website:
Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\webservice1_wsmnmhzdata\7aaddb50\25b57516\hash.web" is denied.
Any ideas how to stop this from occuring?
Thanks,
JJ
|
|
|
|
|
Does this happen when you change the code for the WebService or when you change the code for a consumer project of the webservice? Is the WebService and the consumer part of the same solution? Does the consumer project have a WebReference to the webservice or a project reference?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Change code for the webservice. and yes the consumer project uses a web reference to the webservice.
JJ
|
|
|
|
|
The message is coming up probably because your service is still running on the web server. When you compile the code, it can't replace the running version of the executable. Do you still have a browser window open when you test your project?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi iam a beginner in c# & recently i was planning to build a web application but iam not able to use namespace system.web cause my compiler is not able to recognize it. what's the reason? should i import it from somewhere else?if yes from where & how do i import? please help me.
|
|
|
|
|
You have to add a reference to the DLL.
Therefor go to the solution explorer, right-click on References and select "Add Reference". In the dialog that opens, search System.Web.dll entry in the ".NET" tabpage, double-click on it and close the dialog with OK.
www.troschuetz.de
|
|
|
|
|
Hi All,
I have a Form in my application,Form has Menu and Toolbar .I want two toolbars on my Form of which one should be Movable,means user should be able to drag that toolbar anywhere on the Form.
How should i make the toolbar movable in my application.
Any Ideas,links to Tutorials will appreciated.
Thanks and Regards
Tushar Mahajan.
|
|
|
|
|
I think most people will neglect your post because of the following
Tushar mahajan wrote:
Any Ideas,links to Tutorials will appreciated.
It seems like you want them to search for you. As a standard suggestion, please use the ability to search CodeProject and then use Google.
Regards,
Eric C. Tomlinson
I won't dignify your question with an answer. Yes, I program in VB6, but only because I'm addicted to eating!
|
|
|
|
|
I was a VC++ programmer. Now I am learning C#.
In VC, you can use SendMessage() or PostMessage() to send or post a message to
a window. How can I do this in C#?
|
|
|
|
|
You have t use the same win32 API for it , for the sample of how to use theem in C# see this site:
http://pinvoke.net/[^]
Search for these APIs to see sample codes.
Mazy
"One who dives deep gets the pearls,the burning desire for realization brings the goal nearer." - Babuji
|
|
|
|
|
i am not able to run a project in C# because i dont have a certain Microsoft.Win32.Interop in my libraries...would someone please tell me where i can get that library...i am presently using Visual Studio.NET 2002
|
|
|
|
|
What's the error that your getting? More than likely, you're not missing anything from the .NET Framework SDK. You COULD be missing an Interop .DLL that is generated when you import an ActiveX control and use it.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
i am trying to run a project which is sort of a calendar and generates a response on the shceduled date....the actuall error that i am receiving is ..
"The referenced component 'Microsoft.Win32.Interop' could not be found. "
and "The type or namespace name 'Interop' does not exist in the class or namespace 'Microsoft.Win32' (are you missing an assembly reference?)"...i am really sorry but i am a newbie and would really appreciate if you can help me with the problem.
|
|
|
|
|
OK. Did you reference any ActiveX components? What references have you made?
Plus, post the top of your code also, through the Windows Form Designer section.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
the top od my code looks like this..
using System;
using System.Drawing;
using Microsoft.Win32.Interop;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
namespace WindowsApplication9
{......
|
|
|
|
|
There's your problem... Get rid of the line using Microsoft.Win32.Interop . There is no namespace by that name so it's not going to work. Where did that come from? No application I've seen needs that line, which won't work anyway...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|