196 Posted Topics

Member Avatar for vuyiswamb

Good Evening All Am amazed that i cant use the Replace Function , its Probably the long that i had. i have the Following code [CODE] String Username = "Vuyiswa"; String Password = "secret"; String strBody = @"<p>Thank you for using !obooking System <br><br> Username:(Username)<br><br>Password:(Password)<br<br>Kind Regards !oBooking</p>"; strBody = Regex.Replace(strBody,Username,"(Username)"); …

Member Avatar for vuyiswamb
0
117
Member Avatar for vuyiswamb

Good day All I have a Challenge. I have the Following StoredProcedure that is doing the Following [code] IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[temp]')) drop table [temp] --Creation of Temp1 SELECT MTN.ID,S.DESCR,ISNULL(MTN.CYCLETEMPLATE,C.CYCLES) AS CYCLETEMPLATE into temp FROM TBL_STAFF S INNER JOIN MTM_ACTV_STAFF MTN ON S.ID = …

Member Avatar for vuyiswamb
0
160
Member Avatar for vuyiswamb

Good Afternoon All , i have a page that does some updates, and i have my own progress bar and there is a strange Ajax(i think so) progress bar that is showing and its making my page to be slow. [IMG]http://www.vbforums.com/attachment.php?attachmentid=71442&stc=1&d=1244725295[/IMG] As you can see there is a Small black …

0
63
Member Avatar for vuyiswamb

Good Day all i have a Ultrawebgrid i n my page and i display Data in this Way [CODE] STAFF CYCLES ========================= Galloway A Ms 20,22,23,24,25,26 Gama, E 20,22,24,25 Grieve S Ms 20,25,26 Jones D Dr 24,26[/CODE] and a user can select the Staff in the Grid by Holding a …

0
52
Member Avatar for lefrancisco1

Good Afternoon lefrancisco1 You are using the Wrong event use [CODE] protected void GridView1_SelectedIndexChanged(object sender, EventArgs e) { }[/CODE] Hope it Helps Vuyiswa Maseko

Member Avatar for kvprajapati
0
102
Member Avatar for vuyiswamb

Good Morning All For you to help me and understand my problem, i will have to explain everything in details. I have a usercontrol with with a textbox, this texdtbox changes values so am trapping the values on textchange. so i have set it to "Autopostback="true"" in the usercontrol and …

Member Avatar for serkan sendur
0
116
Member Avatar for vuyiswamb

Good Day All I have a textbox in a userControl and it has a Property "Autopostback" set to true, and as i know , this is encapsulated from the hosting page. now i need to set this property to true so that the Gridview in the Hosting page can recognize …

Member Avatar for vuyiswamb
0
175
Member Avatar for vuyiswamb

Good Day I have a page that has a UserControl on it and i want to call a Method in the Host page that will fire when a textbox texchanged event got fire. [URL="http://www.vbforums.com/attachment.php?attachmentid=71093&stc=1&d=1242811920"]http://www.vbforums.com/attachment.php?attachmentid=71093&stc=1&d=1242811920[/URL] i want to Invoke the Function the the "[B]Remove Staff [/B]" Button that has been Disabled …

0
75
Member Avatar for vuyiswamb

Good Evening All I have a web Application that is compiling well with no Errors, i have Compiled each separately and worked well excluding the setup Project. i have to be honest, i once use the clean before i rebuilded the Solution and i came across this challenge. here is …

0
55
Member Avatar for vuyiswamb

Good Afternoon All I have a Control that looks like this [URL="http://www.tiyaneproperties.co.za/fading_Control.JPG"]http://www.tiyaneproperties.co.za/fading_Control.JPG[/URL] And this Control looks differently from versions of Internet explorer. In 7 and up it shows are the links shows you and in internet explorer 6 it shows the whole of it , if the list grows, it …

0
67
Member Avatar for vuyiswamb

Good Morning All I have a table named “Final” with Values like this [code] ID || DESCR || CYCLE ====================================== 1 || Earl G || 20 2 || Earl G || 21 3 || Earl G || 22 4 || Davidson I Dr || 20 5 || Davidson I Dr …

Member Avatar for vuyiswamb
0
481
Member Avatar for lovely_girl1989

You need to Buy a Book learn Before you answer these Question, it is Clear that you did not attempt to buy a book. We dont do homeworks for People Buy a Book

Member Avatar for Ramy Mahrous
0
143
Member Avatar for moiseszaragoza

That is a Good Post, Now What is the Attribute of the Button if it loses Focus ? Thanks

Member Avatar for serkan sendur
0
496
Member Avatar for vuyiswamb

Good Morning All I have a Menu Control [CODE] <asp:Menu ID="Menu2" runat="server" BackColor="AliceBlue" BorderColor="SteelBlue" BorderStyle="Solid" BorderWidth="1px" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" Height="20px" OnMenuItemClick="menureplace_MenuItemClick" StaticSubMenuIndent="10px" Width="87px"> <DynamicHoverStyle BackColor="#7C6F57" ForeColor="White" /> <DynamicMenuStyle BackColor="White" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" /> <StaticSelectedStyle BackColor="#5D7B9D" /> <DynamicSelectedStyle BackColor="#5D7B9D" /> <DynamicMenuItemStyle Font-Names="Verdana" Font-Size="10pt" ForeColor="#C00000" HorizontalPadding="5px" VerticalPadding="2px" /> <Items> <asp:MenuItem Text="Replace …

0
61
Member Avatar for soniajay

It can be a lot of things, We cant tell because we dont know what are you doing on Page load, mybe if you can tell us a list of things that you do onpage load event and post some sniped code , then we can help you. :)

Member Avatar for Tom92
0
128
Member Avatar for vuyiswamb

Good Morning Friends, I have a SP that is Supposed to Restore a Database from a Backup. In some Clients this works well but in those particular client its a Problem. The version is SQL 2005. Here is the Code that fails [CODE] set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go …

Member Avatar for vuyiswamb
0
640
Member Avatar for chriscross86
Member Avatar for srikanthkadem
0
193
Member Avatar for vuyiswamb

Good Day All i have a table that carries a Field that has data like this [CODE] 10101010101010[/CODE] Now the Function that adds this 1's and 0's is working like this. If its selected insert "1" else "0", So if i can interpret the above if will be [CODE] 1 …

Member Avatar for sknake
0
99
Member Avatar for vuyiswamb

Good Afternoon All In all my Application, i used to write my login screen and i will not have a problem. i have inherited the ASP.NET Application that uses a login control. Below are the pics of how it looks here is a code for Forget Password link [CODE] protected …

0
72
Member Avatar for vuyiswamb

Good Morning Guys I have a Problem on my ASP.NET Application. I have a Web setup Project created and it used to work fine before, but now , when i try to Compile it it gives a Warning [QUOTE]"Object reference not set to an instance of an object"[/QUOTE] And when …

Member Avatar for vuyiswamb
0
379
Member Avatar for vuyiswamb

Good Morning All I have a WebSetup Project and a Installer Class. I want to accept User [QUOTE]Database, Server,Username,Password and E-mail[/QUOTE] This is what i did so far. I have created a Websetup Class installer that looks like this [CODE] namespace ClassLib { [RunInstaller(true)] public class ClassLib : Installer { …

0
344
Member Avatar for Slovig

Your Subject is Misleading. How did you deploy your Application. Please Explain step by Step , because if you have missed one simple step it will give you errors. I dont use Wizards to do my database work, i can see that you have used a sqldatasource Control and really …

Member Avatar for vuyiswamb
0
323
Member Avatar for yuleball

Wow , do you know why people ignore your post? :) its because what you are saying is not related to VB.NET or why have not try enough to explain what is your problem and what you want to achieve

Member Avatar for lostandfound
0
93
Member Avatar for ricksvoid

Remember that an IP Adress can be used interchangably with the DNS name. So instead of writting the name of the Server, you just have to write in the IP Adress, there is nothing else Special. Every Computer must have a name, especially a Server, why dont you tell your …

Member Avatar for vuyiswamb
0
90
Member Avatar for shazzy99
Member Avatar for ddanbe
0
124
Member Avatar for Aneesh_Argent
Member Avatar for barclays82

We dont do homeworks for people , we Help People who have started something and get stucked. Start Something and get stucked and we will help you

Member Avatar for waynespangler
0
106
Member Avatar for sourav bansal

I really Dont know what you are talking about, If you are trying to use a Copy of VS then you are screwd buy a Original Copy Thief

Member Avatar for peter_budo
0
83
Member Avatar for krany18

yes the guys are Right, it must look like this [CODE] if (cn.State == ConnectionState.Closed)[/CODE] Thanks

Member Avatar for vuyiswamb
0
161
Member Avatar for vuyiswamb

Good Morning All Am trying to Store the username of the User that will be loged on. choose to use the Profile, and i have done the following from the Web Config file [CODE] <profile enabled ="true"> <properties> <add name ="Username" readOnly ="false" allowAnonymous ="true"/> </properties> </profile> [/CODE] And am …

Member Avatar for vuyiswamb
0
90
Member Avatar for vuyiswamb

Good evening Everyone My VS is behaving n an unnormal way. I have 9 Project in a Solution and i have set one of the Projects as a Startup Project and created a Setup project, after i Built it to create an exe, The Project that gets Started is not …

Member Avatar for vuyiswamb
0
98
Member Avatar for vuyiswamb

Good Evening alL I have an ASP.NET Front end that seaches the Dates in certain Ranges. here is my Data Layer. [CODE] public DataTable Get_Date_by_Month(String Username,String Datefrom, String Dateto) { con = new OleDbConnection(strcon); DataTable Details = new DataTable(); da = new OleDbDataAdapter(); cmdselect = new OleDbCommand(); cmdselect.CommandTimeout = 0; …

Member Avatar for LizR
0
81
Member Avatar for vuyiswamb

Good Afternoon All i think its Firday fever, am tired. I think this Happens sometimes. let me get to the Problem. Am doing an OleDb Project I have an Access DB and the table is Users , here are the Field and dataType ID = Autonumber(int) Firstname = TEXT LastName …

Member Avatar for vuyiswamb
0
309
Member Avatar for jithusdani
Member Avatar for vuyiswamb
0
98
Member Avatar for vuyiswamb

Good Afternoon Guys Let me start here. i have been Builidng Win App and this was an easy task there. Now i have a Page that has a Datagridview and am Displaying this from a DataTable Through a SP like this [CODE] Create Proc [sde].[Check_Active_Valuation]as select LIS_KEY,FUNC_KEY,SUBSTRING(CONVERT(VARCHAR,V2.ADD_DATE,1),1,13)AS [ADD DATE],V2.NEW_IMPROVED_VALUE AS …

0
40
Member Avatar for 123user123

Yes its Possible , but why would you want to let your users type in a Datagrid. get a Separate textbox to search see this Aricle [URL="http://www.codeproject.com/KB/cs/N-Tier22.aspx"]http://www.codeproject.com/KB/cs/N-Tier22.aspx[/URL]

Member Avatar for selvaganapathy
0
103
Member Avatar for ansari.wajid

hi Now Remember that i can only show you the door , you are the only person who have to walk throught it. i have created a substring and displayed them on the Messagebox, you have to assign that to the Array. here is the example code [code]String myString = …

Member Avatar for nvmobius
0
404
Member Avatar for Acidburn

Technology is something that makes things easier, Why do you want to write code just to have a Form, you can just select a Win Form when you start your Project or Add it

Member Avatar for vuyiswamb
0
182
Member Avatar for raphaelsolis

[QUOTE=raphaelsolis;632610]can somebody tell me the codes for updating the datagridview records.. here's what i wanna do. for example there are 3 columns name , middle , last. i want to update last but the problem is my datagridview doesnt update and still remain the same record but no errors..[/QUOTE] You …

Member Avatar for Ken Sharpe
0
115
Member Avatar for cse.vidhya

You see , we are Professionals , we dont work for you. If something is very urgent for , its not for us and its an insult to us. Never and Never ever post such a thing in a Forum. lastly before you post you must Goggle, then one day …

Member Avatar for vuyiswamb
0
115
Member Avatar for vuyiswamb

hi All i realy need your Help. i have a Table named Property, this Table has a Field named "Lis_key" and Attrib_code and "Func_key", my Table can look like this [CODE] Lis_key ===========Attrib_code========================= Func_key====== ===================================================================== 01424545 1212033993 PV000000 01424545 Null GEOSS001 01424545 Null GEOSS002 01424545 Null GEOSS003 [/CODE] Figuire:1 Now …

0
69
Member Avatar for hirtej

hi All i think the code should look like this [COLOR=red][B][code][COLOR=green]textbox1.databinding[B][COLOR=red]s[/COLOR][/B].add("text",me.ds,"master_dept"[COLOR=red],"[/COLOR]dept_name[B][COLOR=red]"[/COLOR][/B])[/COLOR][/code][/B][/COLOR] hope it helps

Member Avatar for vuyiswamb
0
108
Member Avatar for vuyiswamb

i have one Problem, please tell me what should i keep in mind, about the following Errors "Application uses Value of wrong type for the current operation" This is th errors in vb6 Set prmNum_key = ComNum_key.CreateParameter("Num_Key", adBigInt _ , adParamInput) Set prmExtension = ComExtension.CreateParameter("Extension", adBigInt _ , adParamInput, , …

0
54
Member Avatar for vuyiswamb

My company is using a third party software designed by other private company. there is a point where there is data redundacny on our tables and it requires me to do the data cleaning. i thought it would be better to fix the incorrect field with the procedure with those …

0
51
Member Avatar for vuyiswamb

hi Please help,i have installed Visual studio .net 2003. i code in C#, when i write my code, for example "Console." imidiately before i complete the statement it closes the application requesting to restart the application, and i wrote my code on a notepad making sure that the code is …

Member Avatar for pygmalion
0
112
Member Avatar for Paladine

hi Samaru, Please help me out here, i have SQL7 test and development tools disk7 of the MSDN. when i try to install it it gives an error at 90% saying could not read a certain file, this is because of poor network connection. and am installing it as local.what …

Member Avatar for vuyiswamb
0
196

The End.