473,761 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help with web user control

I'm building a small web application - I started out placing all my code in
one file (config.aspx). As I continue to add code though it was becoming
very unwieldy.

After doing some searching online I found an article which suggested I might
place some of the code into web user controls. I created two new files
(general_info.a scx and store_front.asc x) and placed two chunks of code in
each.

I then registered the controls at the top of config.aspx:
<%@ Register TagPrefix="UU" TagName="genera l_info" Src="~/general_info.as cx"
%>
<%@ Register TagPrefix="UU" TagName="store_ front" Src="~/store_front.asc x"
%>

And I also add the controls to config.aspx:
<UU:general_inf o id="general_inf o1" runat="server" />
<UU:store_fro nt id="store_front 1" runat="server" />

However I'm getting the following errors:
Element 'general_info' is not a known element. This can occur if there is a
compilation error in the Web site.

Element 'store_front' is not a known element. This can occur if there is a
compilation error in the Web site.

I can't seem to figure out where I went wrong. I'm a bit new at
csharp/asp.net so I'm sure I'm just doing something stupid wrong. Could
anyone point me in the right direction?

Thank You,
Brad Baker
Mar 11 '07 #1
11 2134
On Mar 11, 5:17 pm, "Brad Baker" <b...@nospam.no spamwrote:
I'm building a small web application - I started out placing all my code in
one file (config.aspx). As I continue to add code though it was becoming
very unwieldy.

After doing some searching online I found an article which suggested I might
place some of the code into web user controls. I created two new files
(general_info.a scx and store_front.asc x) and placed two chunks of code in
each.

I then registered the controls at the top of config.aspx:
<%@ Register TagPrefix="UU" TagName="genera l_info" Src="~/general_info.as cx"
%>
<%@ Register TagPrefix="UU" TagName="store_ front" Src="~/store_front.asc x"
%>

And I also add the controls to config.aspx:
<UU:general_inf o id="general_inf o1" runat="server" />
<UU:store_fro nt id="store_front 1" runat="server" />

However I'm getting the following errors:
Element 'general_info' is not a known element. This can occur if there is a
compilation error in the Web site.

Element 'store_front' is not a known element. This can occur if there is a
compilation error in the Web site.

I can't seem to figure out where I went wrong. I'm a bit new at
csharp/asp.net so I'm sure I'm just doing something stupid wrong. Could
anyone point me in the right direction?

Thank You,
Brad Baker
Was the compilation successful?

The code you've posted here looks correct.

Mar 11 '07 #2
Was the compilation successful? <

No - it produces the error mentioned in my original post (Element 'XXX' is
not a known element....)

I found a post which suggested that I needed to group my user controls into
a folder - that seemed to resolve the original problem only to create new
errors. :-)

Now my problem seems to be references in my user controls to code still in
the config.aspx file. I'm a bit befuddled as to where to go from here. I'm
still searching the net and reading a few reference books but if anyone has
any ideas I would appreciate any suggestions. (Below are a couple of the
errors from detailed error output)

Thanks Again,
Brad

-----

webcontrols\gen eral_info.ascx( 48) : error BC30456:
'general_info_v iew_linkbutton_ click' is not a member of
'ASP.webcontrol s_general_info_ ascx'.
AddHandler __ctrl.Click, AddressOf
Me.general_info _view_linkbutto n_click
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~~

webcontrols\sto re_front.ascx(1 70) : error BC30456:
'store_front_ed it_linkbutton_c lick' is not a member of
'ASP.webcontrol s_store_front_a scx'.
AddHandler __ctrl.Click, AddressOf
Me.store_front_ edit_linkbutton _click
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~

webcontrols\sto re_front.ascx(1 79) : error BC30451: Name 'convert_to_htm l' is
not declared.
dataBindingExpr essionBuilderTa rget.Text =
System.Convert. ToString(
convert_to_html (Convert.ToStri ng(Eval("additi onal_domains")) ) ,
System.Globaliz ation.CultureIn fo.CurrentCultu re)

-----

"Alexey Smirnov" <al************ @gmail.comwrote in message
news:11******** *************@8 g2000cwh.google groups.com...
On Mar 11, 5:17 pm, "Brad Baker" <b...@nospam.no spamwrote:
>I'm building a small web application - I started out placing all my code
in
one file (config.aspx). As I continue to add code though it was becoming
very unwieldy.

After doing some searching online I found an article which suggested I
might
place some of the code into web user controls. I created two new files
(general_info. ascx and store_front.asc x) and placed two chunks of code in
each.

I then registered the controls at the top of config.aspx:
<%@ Register TagPrefix="UU" TagName="genera l_info"
Src="~/general_info.as cx"
%>
<%@ Register TagPrefix="UU" TagName="store_ front"
Src="~/store_front.asc x"
%>

And I also add the controls to config.aspx:
<UU:general_in fo id="general_inf o1" runat="server" />
<UU:store_fron t id="store_front 1" runat="server" />

However I'm getting the following errors:
Element 'general_info' is not a known element. This can occur if there is
a
compilation error in the Web site.

Element 'store_front' is not a known element. This can occur if there is
a
compilation error in the Web site.

I can't seem to figure out where I went wrong. I'm a bit new at
csharp/asp.net so I'm sure I'm just doing something stupid wrong. Could
anyone point me in the right direction?

Thank You,
Brad Baker

Was the compilation successful?

The code you've posted here looks correct.

Mar 11 '07 #3

"Brad Baker" <br**@nospam.no spamwrote in message
news:ew******** ******@TK2MSFTN GP04.phx.gbl...
>Was the compilation successful? <
On Mar 11, 10:56 pm, "Brad Baker" <b...@nospam.no spamwrote:
Was the compilation successful? <

No - it produces the error mentioned in my original post (Element 'XXX' is
not a known element....)
Well that was at run-time I guess, but ok, now I see what is the problem.

webcontrols\gen eral_info.ascx( 48) : error BC30456:
'general_info_v iew_linkbutton_ click' is not a member of
'ASP.webcontrol s_general_info_ ascx'.
AddHandler __ctrl.Click, AddressOf
Me.general_info _view_linkbutto n_click
It means you don't have a method called general_info_vi ew_linkbutton_c lick
in general_info.as cx.vb

Either remove the line with AddHandler...., or create a method you refered.

>
webcontrols\sto re_front.ascx(1 70) : error BC30456:
'store_front_ed it_linkbutton_c lick' is not a member of
'ASP.webcontrol s_store_front_a scx'.
AddHandler __ctrl.Click, AddressOf
Me.store_front_ edit_linkbutton _click
The same problem.

webcontrols\sto re_front.ascx(1 79) : error BC30451: Name 'convert_to_htm l'
is
not declared.
dataBindingExpr essionBuilderTa rget.Text =
System.Convert. ToString(
convert_to_html (Convert.ToStri ng(Eval("additi onal_domains")) ) ,
System.Globaliz ation.CultureIn fo.CurrentCultu re)
The same problem, a function with name convert_to_html cannot be found
Mar 11 '07 #4
Hi Brad,

Welcome to ASP.NET programming world!

For your specific issue, I think Alexey's suggestion should work. Please
feel free to let us know if you still have trouble to run your code.

Usually I would recommend new ASP.NET developer to following resources when
getting started with ASP.NET:

* Microsoft ASP.NET QuickStarts Tutorial
(http://www.dotnetjunkies.com/quickst...uickstart.aspx)

Although it's for ASP.NET 1.1, but it's from startup and should get you
familiar with ASP.NET. For example, you specific question is about Web User
Control and this is the specific tutorial for it:
http://www.dotnetjunkies.com/quickst...bpagelets.aspx

* ASP.NET 2.0 QuickStart Tutorial
(http://quickstarts.asp.net/QuickStar...t/Default.aspx)

This covers some new features available in ASP.NET 2.0.

* INFO: ASP.NET Roadmap (http://support.microsoft.com/kb/305140)

Although it's written for ASP.NET 1.1, but it contains many useful KBs to
various topics in ASP.NET world.
Sincerely,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Mar 12 '07 #5
Hi Brad,

Have you solved the issue? Please feel free to let us know if there's
anything unclear. Thanks.

Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Mar 15 '07 #6
No - I'm still confused.:) As mentioned previously I had all my code in one
file (config.aspx) - this includes functions, and two formview controls
which contain several other controls.

Anyway I pulled the two formview controls out and made each a user control
(general_info.a scx and storefront_info .ascx). Now of course my application
no longer works.

So the part I am confused about is weather I should:

- Pull my functions out of config.aspx and place them inside of my ascx
files - the same code in both files between <scriptand </scripttags

- Pull my functions out of config.aspx and place them inside of ascx.cs
files?

And do I need to do anything with my functions? I.E. do they need to be
re-formated as properties and sub routines?

Alternatively I wonder if user controls are really what I want - maybe I
should be looking at web parts instead?

I'm sorry - I'm sure these must seem like silly questions. If you have any
suggestions I would appreciate the assistance.

Thanks
Brad

BTW - In the link you included below
(http://www.dotnetjunkies.com/quickst...bpagelets.aspx) all
of the samples are broken links.
"Walter Wang [MSFT]" <wa****@online. microsoft.comwr ote in message
news:LI******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi Brad,

Have you solved the issue? Please feel free to let us know if there's
anything unclear. Thanks.

Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no
rights.

Mar 16 '07 #7
Hi Brad,

There're no silly questions, :)

Getting started with ASP.NET can be daunting at first, especially when your
mind is used to the stateful world of client/server applications. That's
why I suggested to start with the tutorial and the roadmap to learn it step
by step, :)

Anyway, let's get back to the issue in this post: based on my
understanding, you was using a WebForm and you later decided to move some
controls into its own Web User Control and use this Web User Control on the
WebForm.

If your FormView will be used by your WebForm, by moving it into a User
Control, it will no longer be referenced directly by your WebForm.
Therefore your code must need have some changes accordingly.

Yes some of your functions, such as the event handlers of the FormView will
be needed to move along with the FormView into the User Control's code
behind class.

I think it's not easy to answer your question easily since the full code
listing is not included here. Anyway, I suggest you first to understand the
Web User Control: the tutorial and documentation should help you. By the
way, I just checked the tutorial URL, it's working on my side, what error
or exception are you seeing when clicking on the samples links?

Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Mar 16 '07 #8
On this page:
http://www.dotnetjunkies.com/quickst...bpagelets.aspx
All of the "view source" links are broken for me.

Here are two examples of the functions I am talking about:

===========
/*
* Switch the formview mode to view
*/
protected void store_front_vie w_linkbutton_cl ick(object sender, EventArgs e)
{
store_front_for mview.ChangeMod e(FormViewMode. ReadOnly);
}

/*
* Takes data stored in the database and formats it for output on the page.
* For instance new lines, commas, and spaces are converted to line breaks,
*/
protected string htmlize(string additional_doma ins) {

string strContent = additional_doma ins;

// Try to strip out extraneous characters and add in html line breaks
strContent = strContent.Repl ace("\n", "<br/>");
strContent = strContent.Repl ace(", ", "<br/>");
strContent = strContent.Repl ace(",", "<br/>");
strContent = strContent.Repl ace(" ", "<br/>");

// Regular Expresson to find URLs and "html-ize" them
Regex urlregex = new Regex(@"(([\w.]+\/?)\S*)",
RegexOptions.Ig noreCase | RegexOptions.Co mpiled);
strContent = urlregex.Replac e(strContent,"< a href=\"http://$1\"
target=\"_blank \">$1</a>");
return strContent;
}
===========
These functions are referenced in my user controls (as part of a formview):
===========
<td class="right_la bels"Mode:</td>
<td>
<asp:LinkButt on ID="ViewLinkBut ton" runat="server"
OnClick="store_ front_view_link button_click">V iew</asp:LinkButton>
</td>

.... more code ....

<td class="right_la bels">URLS:</td>
<td><asp:Labe l ID="additional_ domains" runat="server" Text='<%#
htmlize(Convert .ToString(Eval( "additional_dom ains"))) %>'></asp:Label</td>
===========

So would I move this function to the codebehind for my user control? If so
don't I have to rewrite my function? I'm hesitant to do that as I have
around 10 functions - some of which are quite complex. Also both of my new
user controls use a lot of the same functions - so there would be quite a
lot of code duplication.

My original goal was to compartmentaliz e my code into different peices so
that it was more managable. User controls seemed like the right solution but
if I have to re-write all my code I wonder if there isn't a better way of
acheiving the same result. Or if I am better off just leaving all the code
in one file. :-\

Best Regards
Brad Baker

"Walter Wang [MSFT]" <wa****@online. microsoft.comwr ote in message
news:RH******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi Brad,

There're no silly questions, :)

Getting started with ASP.NET can be daunting at first, especially when
your
mind is used to the stateful world of client/server applications. That's
why I suggested to start with the tutorial and the roadmap to learn it
step
by step, :)

Anyway, let's get back to the issue in this post: based on my
understanding, you was using a WebForm and you later decided to move some
controls into its own Web User Control and use this Web User Control on
the
WebForm.

If your FormView will be used by your WebForm, by moving it into a User
Control, it will no longer be referenced directly by your WebForm.
Therefore your code must need have some changes accordingly.

Yes some of your functions, such as the event handlers of the FormView
will
be needed to move along with the FormView into the User Control's code
behind class.

I think it's not easy to answer your question easily since the full code
listing is not included here. Anyway, I suggest you first to understand
the
Web User Control: the tutorial and documentation should help you. By the
way, I just checked the tutorial URL, it's working on my side, what error
or exception are you seeing when clicking on the samples links?

Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no
rights.

Mar 16 '07 #9
Alright - you'll love this.

The source of all my headaches was this: <script runat="server">
Instead of this: <script language="C#" runat="server">

What was I thinking? :-) Everything is now working as expected. Thanks for
all your help and patience. I truelly appreciate it.

Warm Regards,
Brad Baker

By the way - This site:
http://quickstarts.asp.net/QuickStar...l/default.aspx
was very useful: I missed it the first time I went through the links.
"Brad Baker" <br**@nospam.no spamwrote in message
news:O4******** *****@TK2MSFTNG P06.phx.gbl...
On this page:
http://www.dotnetjunkies.com/quickst...bpagelets.aspx
All of the "view source" links are broken for me.

Here are two examples of the functions I am talking about:

===========
/*
* Switch the formview mode to view
*/
protected void store_front_vie w_linkbutton_cl ick(object sender, EventArgs
e) {
store_front_for mview.ChangeMod e(FormViewMode. ReadOnly);
}

/*
* Takes data stored in the database and formats it for output on the page.
* For instance new lines, commas, and spaces are converted to line breaks,
*/
protected string htmlize(string additional_doma ins) {

string strContent = additional_doma ins;

// Try to strip out extraneous characters and add in html line breaks
strContent = strContent.Repl ace("\n", "<br/>");
strContent = strContent.Repl ace(", ", "<br/>");
strContent = strContent.Repl ace(",", "<br/>");
strContent = strContent.Repl ace(" ", "<br/>");

// Regular Expresson to find URLs and "html-ize" them
Regex urlregex = new Regex(@"(([\w.]+\/?)\S*)",
RegexOptions.Ig noreCase | RegexOptions.Co mpiled);
strContent = urlregex.Replac e(strContent,"< a href=\"http://$1\"
target=\"_blank \">$1</a>");
return strContent;
}
===========
These functions are referenced in my user controls (as part of a
formview):
===========
<td class="right_la bels"Mode:</td>
<td>
<asp:LinkButt on ID="ViewLinkBut ton" runat="server"
OnClick="store_ front_view_link button_click">V iew</asp:LinkButton>
</td>

... more code ....

<td class="right_la bels">URLS:</td>
<td><asp:Labe l ID="additional_ domains" runat="server" Text='<%#
htmlize(Convert .ToString(Eval( "additional_dom ains"))) %>'></asp:Label>
</td>
===========

So would I move this function to the codebehind for my user control? If so
don't I have to rewrite my function? I'm hesitant to do that as I have
around 10 functions - some of which are quite complex. Also both of my new
user controls use a lot of the same functions - so there would be quite a
lot of code duplication.

My original goal was to compartmentaliz e my code into different peices so
that it was more managable. User controls seemed like the right solution
but if I have to re-write all my code I wonder if there isn't a better way
of acheiving the same result. Or if I am better off just leaving all the
code in one file. :-\

Best Regards
Brad Baker

"Walter Wang [MSFT]" <wa****@online. microsoft.comwr ote in message
news:RH******** ******@TK2MSFTN GHUB02.phx.gbl. ..
>Hi Brad,

There're no silly questions, :)

Getting started with ASP.NET can be daunting at first, especially when
your
mind is used to the stateful world of client/server applications. That's
why I suggested to start with the tutorial and the roadmap to learn it
step
by step, :)

Anyway, let's get back to the issue in this post: based on my
understandin g, you was using a WebForm and you later decided to move some
controls into its own Web User Control and use this Web User Control on
the
WebForm.

If your FormView will be used by your WebForm, by moving it into a User
Control, it will no longer be referenced directly by your WebForm.
Therefore your code must need have some changes accordingly.

Yes some of your functions, such as the event handlers of the FormView
will
be needed to move along with the FormView into the User Control's code
behind class.

I think it's not easy to answer your question easily since the full code
listing is not included here. Anyway, I suggest you first to understand
the
Web User Control: the tutorial and documentation should help you. By the
way, I just checked the tutorial URL, it's working on my side, what error
or exception are you seeing when clicking on the samples links?

Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

============== =============== =============== ======
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============== =============== =============== ======

This posting is provided "AS IS" with no warranties, and confers no
rights.


Mar 17 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3645
by: Patrick | last post by:
I'm working on a contact management application, and need a hand with one aspect... Here's what I want to create: ------------------------------------ A form split into two parts. There is a datagrid on the left side that lists names and perhaps a couple of other key fields. The user can click on a record in the datagrid, which should automatically pull up details on that record in the various text boxes and other controls on the right...
2
1199
by: bie2 | last post by:
Hi, I need help on how to proceed with a multithreading. I have a main form, which depending on what the user click will load a user control. Some of these user controls will have a database connection to load the data, and a way to do a batch insert for the user. When the user user is doing the batch insert, the UI is locked. So I wanted to bring a form or user control which will contain a progress
13
1590
by: Lloyd Sheen | last post by:
I have now spent 5 hours on google/msdn looking for something useful in the creation of user controls for asp.net. The VS 2003 has very limited support for things such as absolute positioning of the control etc.
1
7587
by: Shourie | last post by:
I've noticed that none of the child controls events are firing for the first time from the dynamic user control. Here is the event cycle. 1) MainPage_load 2) User control1_Load user clicks a dropdown in UC1 _________________________ 1) MainPage_Load 2) User Control_1 Load
5
1517
by: Dan Nash | last post by:
Hi all, I've got a page with a user control on, added via VS. I'm trying to get to a property of the user control (or more precisely, a public var). Here's the code at the top of my aspx page... <%@ Register TagPrefix="dI2" TagName="dartsUC_rolodexsearch" Src="dartsUC_rolodexsearch.ascx" %>
3
2237
by: Tim::.. | last post by:
Can someone please help.... I'm having major issues with a user control I'm tring to create! I an trying to execute a sub called UploadData() from a user control which I managed to do but for some reason I keep getting the error: Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
1
2641
by: keith.walter | last post by:
My first asp.net app is almost "done" and I am stuck. Here is my situation: I have a "mother" page add_customer.aspx and a"child" user control add_group.ascx. On the mother page is an "add group" button that makes the the panel inwhich the add_customer control resides VISIBLE=True. On the control, the user can edit the list of groups, or add a new one. After the edit is complete I want to make the panel again VISIBLE=False, as well as...
3
1517
by: Joe | last post by:
Hello All, I am developing a webform which creates ArrayLists of people's names and addresses (the values are retrieved from an xml file) and dynamically drops a user control onto the webform and populates it with the required names. Once the user selects a name, the webform will then drop another user control (the same control) onto itself and populate it with the selected name's addresses. The user control is a combination of an...
0
3439
by: davidr | last post by:
Hi, I have a panel that I load user Control in no problem. The problem arrises when I do a post back on one of these user controls. I have button it does a click event. In this click event I will do some database updates, then I will use reflection to call a method in the parent (this.page) to load the new user control. Its at this point after it loads the new user control that it throws the error "The control must be placed inside...
0
9554
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
9925
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9811
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8814
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7358
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6640
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5266
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3913
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.