2,245 Posted Topics

Member Avatar for ishamputra

Welcome to DaniWeb hkb261! Please use code tags when posting code on daniweb. [noparse] [code=sql] ...query here... [/code] [/noparse] But your answer was correct :)

Member Avatar for sknake
0
61
Member Avatar for NargalaX

NargalaX, Please use code tags when pasting code: [noparse] [code=csharp] ...code here... [/code] [/noparse]

Member Avatar for sknake
0
109
Member Avatar for madcat62

That is a base64 encoded string. Decode it and you get a 48byte array: [code=vb.net] Convert.FromBase64String("7CDE8F64DB88782E4EEEBF5DF6B84F034FEEBD54EBB1551E44F3BF5088C93E6B") [/code]

Member Avatar for sknake
0
152
Member Avatar for phper

If you have "A Small Description of the page" then the title would vary page by page, right? Are you just wanting to ensure the titles are consistent?

Member Avatar for riyas_26
0
291
Member Avatar for bodikon

Take a look around google...: http://www.dreamincode.net/forums/showtopic51374.htm http://ondotnet.com/pub/a/dotnet/2002/03/18/customcontrols.html You should create a class called something like "ButtonEx" and start overriding members. To do your own graphics you will want to manually paint the button yourself. This doesn't work right but it should get you started: using System; using System.Collections.Generic; using System.Linq; …

Member Avatar for Diamonddrake
0
352
Member Avatar for desmondo

Have you tried a different monitor? Those can go bad as well. I have seen some instances where this happens and powering all of the hardware off for a few seconds and turning it back on has solved the issue. I would remove the power cable when doing this to …

Member Avatar for caperjack
0
121
Member Avatar for john_beginner

That is a unintelligible post. Please use complete sentence and explain your needs one more time :)

Member Avatar for papanyquiL
-1
80
Member Avatar for Hiroshe

I went on the cliffhanger at whitewater over the weekend. Its a nine story water slide: [url]http://www.sixflags.com/whiteWater/rides/cliffhanger.aspx[/url]

Member Avatar for sknake
0
187
Member Avatar for ddanbe
Member Avatar for sknake
0
78
Member Avatar for summey

Zip your project and post it. Nobody has responded to the thread so i'm guessing it was the same reason I didn't --- too much work to duplicate your test environment to provide an answer :)

Member Avatar for sknake
0
95
Member Avatar for kashn

Use an interface or a delegate. Here is an interface example: [b].EXE Application[/b] [code=csharp] using System; using System.Windows.Forms; using daniweb.callbackDLL; namespace daniweb { public partial class FormCallback : Form, IClearTextBox { public FormCallback() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { CallbackDLL.DoWork(); //this will clear the textbox } …

Member Avatar for kashn
0
164
Member Avatar for babbu

DataSets offer a number of things. * They are strongly typed * They can hold many DataTables and their relationship so you can have an ORM in memory. * They implement a lot of interfaces for working with data so you can easily use them with report writers or data …

Member Avatar for sknake
0
70
Member Avatar for speedy gonzalos

I'm with adatapost on this .. everything looks OK so you might be missing a value. Does the code throw an error or does it simply not update the data as expected?

Member Avatar for speedy gonzalos
0
106
Member Avatar for JohnLongoria92

Please ask questions specific to VB.NET in this forum. You can generic computer science questions in other forums. Check out computer science and IT Professionals Lounge

Member Avatar for sknake
0
74
Member Avatar for darab

If the column is an identity the value can be retrieved by calling [icode]SCOPE_IDENTITY()[/icode] [code=sql] Declare @ID int Insert Into aTable (aColumn) Values (aValue) Set @ID = Cast(SCOPE_IDENTITY() as int) [/code]

Member Avatar for sknake
0
134
Member Avatar for babbu

Have you installed the drivers? [url]http://www.microsoft.com/downloads/details.aspx?FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en[/url] Also are you running on a 64bit or 32bit OS?

Member Avatar for babbu
0
82
Member Avatar for lil_Is

Can you post the full string evaluated by the debugger so we can see the actual text you are trying to send? Also indicate where the message is being cut off. You may have a control character in the buffer you're attempting to write.

Member Avatar for chandiusjp
0
156
Member Avatar for BlkR

Use parameterized queries to avoid date formatting issues. Example: [code=vb.net] Private Sub DisplayPersonData(ByVal first_name As String, _ ByVal last_name As String) ' Open the connection. connUsers.Open() ' Make a Command for this connection ' and this transaction. Dim cmd As New OleDb.OleDbCommand( _ "SELECT * FROM People WHERE FirstName=? AND …

Member Avatar for sknake
0
130
Member Avatar for etm9413

Hello etm9413 and welcome to daniweb! :) Please use code tags when you paste your code: [noparse] [code=c#] ...code here [/code] [/noparse] As far as your question the subject is a leading misleading as this is not streaming XML. Here is how you can convert a string to a stream. …

Member Avatar for etm9413
0
152
Member Avatar for shobhitzone

It looks like your closing tag is formed improperly: [code] <Text>=E2=80=9Clighting is everything=E2=80=9D</T=ext> [/code]

Member Avatar for shobhitzone
0
113
Member Avatar for nihan1

I'm afraid your post does not make any sense. Could you please elaborate on what you are doing and what language(s) you are using?

Member Avatar for sknake
0
101
Member Avatar for nikhil31888

[quote]I also have good time 2 do dis project[/quote] In addition to adatapost's suggestion another key factor is the ability to spell and form sentences properly. This may not have an impact on the development of your project but it certainly will make or break the quality of it.

Member Avatar for mrGee
0
116
Member Avatar for mansi sharma

Do you really want the buttons [b]in[/b] the row? It seems like you should have buttons on the page near the grid to do customizations as you don't want to repeat these buttons for every row on the grid.

Member Avatar for sknake
0
129
Member Avatar for carsein

Try this: [code=sql] --Create a simulation table IF OBJECT_ID('ParcelTest', 'U') IS NOT NULL DROP TABLE ParcelTest Create Table ParcelTest ( ID int identity(1000, 1) PRIMARY KEY, ShipDate DateTime, Name varchar(30) ) GO --Create test data Declare @DateTime DateTime Set @DateTime = Floor(Cast(GetDate() as float)) Insert Into ParcelTest (ShipDate, Name) Values …

Member Avatar for sknake
0
135
Member Avatar for riyas_26

That really isn't enough information to indicate what the error might be other than the page does not exist. Will you elaborate on your issue?

Member Avatar for sknake
0
231
Member Avatar for avirag

Welcome to daniweb avirag! Please use code tags when posting your code Next could you upload your project where we could see what is going on here. I cannot duplicate this behavior: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace daniweb …

Member Avatar for avirag
0
126
Member Avatar for Desolator4u

[QUOTE=Pacman21;935812]If you use the SELECT * FROM make WHERE make LIKE '"& honda & "%'" That should do the trick[/QUOTE] Please do not [b]ever[/b] build queries like that. Take a look at this thread: [url]http://www.daniweb.com/forums/thread208266.html[/url] You should use parameters when constructing queries.

Member Avatar for Desolator4u
0
171
Member Avatar for love_dude1984
Member Avatar for kvprajapati
0
110
Member Avatar for NargalaX

You need to declare your Timer outside the scope of the constructor or else it goes out of scope and is no longer accessible, as you are seeing currently. Try this: [code=c#] Timer Clock; public GUI() { InitializeComponent(); //This is the part needed to create a custom shaped Form this.FormBorderStyle …

Member Avatar for k.d.m
0
110
Member Avatar for php_noob
Member Avatar for t_mcgee09

[code=sql] Select Name, (IsNull(Week1, 0) + IsNull(Week2, 0) + IsNull(Week3, 0)) As Total From TableName Order By Name [/code]

Member Avatar for mail2saion
0
101
Member Avatar for needhelp199

Boot off your XP installation CD and use the recovery console. Copy the file over to your harddrive in the directory its supposed to go in.

Member Avatar for steve7132
0
201
Member Avatar for ravikiran032

I guess you could just kill the application when any form shuts down. This sounds like a bad idea but its what you asked: [code=vb.net] Private Sub FormDragDrop_FormClosed(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosedEventArgs) Handles MyBase.FormClosed Application.Exit() End Sub [/code]

Member Avatar for ravikiran032
0
93
Member Avatar for ddanbe

That depends. If the type is aware on how it should format itself then you have one issue versus if you want to let users decide how to format the object. Take for example a decimal being formatted with F2 or F0 -- that just controls the number of decimals. …

Member Avatar for sknake
0
329
Member Avatar for Kecy
Member Avatar for sknake
0
93
Member Avatar for Ropipo

Start -- Run -- services.msc and hit enter. You can also right click on the empty area in your "start bar" at the bottom. This will be the area to the right of where your last open window is running. Right click and hit properties. In the dialog select the …

Member Avatar for sknake
0
104
Member Avatar for thanatos1

This sounded fun so I wrote a little RPG :P [code=c#] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace daniweb { public partial class frmGame : Form { public frmGame() { InitializeComponent(); } private void TestProbability() { //We are using 1-10 …

Member Avatar for sknake
0
196
Member Avatar for Dajer

To be honest I use a form entry point when calling other forms to ensure they are set up properly. I always call .ShowDialog() from within the forms own class and this also lets me have return types when using modal forms and I completely ignore the DialogResult of the …

Member Avatar for sknake
0
193
Member Avatar for speedy gonzalos

What do you mean by it doesnt work? Looking at your code you are handling an exception when creating the parameter and adding it to the command's collection. Are you raising an exception there, when you fire the [icode].ExecuteNonQuery()[/icode], or is there no error it just doesn't update the data? …

Member Avatar for sknake
0
2K
Member Avatar for Pacman21

Take a look at [url]http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.aspx[/url] It is probably case sensitive so try "{ENTER}"

Member Avatar for Pacman21
0
830
Member Avatar for Basicgear

Please use code tags when posting code on daniweb To answer your question you have a few problems. First is the constructor for the Weapons class. The method having the same name as the class is called the constructor and returns an instance of the class. You do not declare …

Member Avatar for sknake
0
93
Member Avatar for adam84

Your OleDbDataAdapter is creating the OleDbDataConnection for you under the hood. You're still using it. Help file: [quote] OleDbDataApater Class Represents a set of data commands and a database connection that are used to fill the DataSet and update the data source. [/quote]

Member Avatar for sknake
0
109
Member Avatar for kerek2

[QUOTE=kerek2;933074]Tq bro, but still got problem...i cannot change or update that value in this textbox...anyone can guide me please...tq in advance[/QUOTE] Is the textbox set [icode]ReadOnly = true[/icode] or [icode]Enabled = false[/icode] ?

Member Avatar for sknake
0
91
Member Avatar for karthik_cud

That doesn't make sense. You say you have edited the code but the changes make no effect? Step through the code with the debugger and see if it is running the code. You may have changed the wrong method?

Member Avatar for sknake
0
85
Member Avatar for shine_jose

Please post web related questions in the ASP.NET forum. Secondly I do not understand what you are saying here. Could you please provide enough code to demonstrate the issue?

Member Avatar for sknake
0
87
Member Avatar for Basicgear

I don't have a compiler in front of me but this should be close enough to answer your question: [code=c#] private void checkbox_CheckChanged(sender s, EventArgs e) { if (checkBox1.Checked) this.BackgroundColor = Color.Red; else this.BackgroundColor = Color.Blue; } [/code]

Member Avatar for sknake
0
92
Member Avatar for solano

I don't understand what you're asking. Load the property array in to a List of generics, modify it, then call [icode].ToArray()[/icode] if you are having problems working with an array. Other than that I can't understand what you are asking.

Member Avatar for Teme64
0
145
Member Avatar for jaaam

Check out [url]www.codeproject.com[/url] for articles with full code samples. I find it much easier to follow the article when you have a local version of the application you can test as you go.

Member Avatar for k.d.m
0
167
Member Avatar for vinnijain

Are you looking at using an MDI application or a single "Main Form" and swapping out the right panes content? Also -- can you post the code you have tried so far and show us where you are having difficulties?

Member Avatar for vinnijain
0
147
Member Avatar for ritu verma

No need to use the URL as it will already be in your local browser cache. [code=vb.net] Public Class FormDragDrop Private Sub FormDragDrop_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.AllowDrop = True End Sub Private Sub FormDragDrop_DragEnter(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles MyBase.DragEnter If …

Member Avatar for sknake
0
290

The End.