|
Hi,
Can any one tell the difference between visual studio 2008 pro with MS Visual Studio 2005.
I want to migrate my code from Visual studio 2005 to visual studio 2008 pro.
What kind of problem i will face if i did so...
Please guide me.
Thank in Advance
Senthil.S
A Software Engineer
|
|
|
|
|
You can read from Microsoft msdn site http://msdn.microsoft.com/en-us/library/bb386063.aspx.
if you are migrate your code to VS05 to VS08 then you have face some new problem.
Like : Functions, Methods which have a new name and new definiction.
Best Regard
Anubhava Dimri
mailto: anubhava.prodata@gmail.com
|
|
|
|
|
You will certainly not have any problems with new method names. First, VS-2008 allows you to choose which FrameWork version you want to target. Second, the 3.5 FrameWork is in fact the 2.0 FrameWork plus additional libraries - it is not a new version of the 2.0 libraries.
Perhaps it is possible to have issues when migrating but I've seen none. And that is very much the opposite of what was the case when we migrated from 1.x to 2.0.
|
|
|
|
|
Hi,
I'm using COM component(Axis Media Control) in .NET framework with language tool c#.
"Play()" is a member function of Axis Media Control(network camera). When I use it in WinForm, after I execute the sentence "AMC.play()", it works all right and shows the image.
But When I try to use it in webservice ,using the sentences like "AxisMediaControl AMC = new AxisMediaControl()" and "AMC.play()",after execute the "play()", it doesn't show any thing nor occur errors. I don't why. I wonder if in webservice there doesn't have any place to show the image( not like in winform can add the control in [design] ) , or if i need to offer a place or window to show the image in webservice.
I also want to know the difference between webservice and winform when using the axis media control. Thanks!!
|
|
|
|
|
lynn1007 wrote: it doesn't show any thing
Show it where? A WebService has no display to display anything on.
lynn1007 wrote: I don't why.
Hopefully my first comment clears that up for you, yes?
Also someone developing a WebService that doesn't already know this, indicates they are working on a subject that they don't understand anywhere near well enough to be working on it. I mean rather than developing a WebService you should be reading, studying the subject to understand it clear enough before developing.
|
|
|
|
|
Thank you so much.
Your reply does cleat that up for me. But I have some more questions.
"A webservice has no diplay to display anything on" does it mean that I cannot realize the function "play()" of the Axis Media Control(an Activex Control)? Does it also mean that I cannot use the control in webservice for web develop,it can only be developed in website and winform?
I'm trying to use the COM component in webservice, and the problem I encountered really puzzles me. I've been confused for many days.
Any advice is appreciated. Thanks!!
|
|
|
|
|
lynn1007 wrote: I've been confused for many days.
Indeed and I know why, and I spoke to that in my last post. You either didn't read it or chose to ignore it.
led mike wrote: Also someone developing a WebService that doesn't already know this, indicates they are working on a subject that they don't understand anywhere near well enough to be working on it. I mean rather than developing a WebService you should be reading, studying the subject to understand it clear enough before developing.
You lack understanding very important factors of client/server computing. In some cases these fundamental factors are laws of the universe and must be understood otherwise days of confusion will follow. I strongly urge you to go learn some things about the technology you are working with. If you choose to ignore my advice many more dark days of confusion surely await you.
|
|
|
|
|
Thank you again!
I'll read some books before study this problem. Hope I can solve it.
|
|
|
|
|
hi i m new to asp.net.....
i wanted to knw how to giv the server.mappath??
i hav given like this...........
String connectionstring="Provider=Microsoft.Jet.OLEDB.4.0;"+"DataSource="+Server.MapPath("C://Inetpub/wwwroot/test5/PersonalDetails1.xls")+";"+"Extended Properties=Excel 8.0";
but it is showin error.....invalid path for mappath, virtual path is expected.......
plz any1 can guide me.........
|
|
|
|
|
hi,
When you are giving the server.mappth there is no need of specifying the full path.
just specify
String connectionstring="Provider=Microsoft.Jet.OLEDB.4.0;"+"DataSource="+Server.MapPath("PersonalDetails1.xls")+";"+"Extended Properties=Excel 8.0";
If the Excel file is in the root folder it will be automatically taken out.
Thanks,
Thani
|
|
|
|
|
lbuttonDown out of a mode window, this mode window will refresh, but no message of paint spring.
witch message is spring?
handsome boy and beautiful girl!
who get this?
please tell me. thank you!
|
|
|
|
|
Can you be a little more clear on this .
Thanks,
Thani
|
|
|
|
|
hi everybody I wish have anyone help me about my broblem that has when I develop system with backup and restore database.
In my form on client I've design for backup/Restore and this form when open this is used connection that connected to database that I want to restore.for ex(current Connection on MYDB and want to restore MYDB that has a new file backup) if I work with server 2000 by manual and force database it's ok.
but that problem has when I do in form on client.
rithylyc@gmail.com
lyrihy_it@yahoo.com
LY RITHY
Tel : 012 649 097
Cambodia,Phnom Penh, Build Bright University
|
|
|
|
|
We've developed an application using .NET, and have installed this on our LAN web server. Part of the application uses Crystal Reports, and we've got this working using the "Merge Modules". All OK so far.
But we would now like to deploy the application onto an ISP Webserver running IIS. Obviously we don't manage the web server, we can only upload our application.
Can anybody offer any advice on how to get Crystal report components on an ISP web server, and exactly what do we need to ask the ISP to do.
Please Send Me The Process That I Can Deploye Crystal Reports Into Webserver, or It Will Run Inside Webserver.pleaseeeeeeeeeeeeeeeeeeee send me the process
Thanks
Sourav Chakraborty
|
|
|
|
|
Hi all. I have this problem that I hope somebody can help me with. I am working on a windows 2003 64 bit system and at first the ASP.NET tab wouldn't show in iis. I got this sorted out with a bit of Registery magic but now none of my ASP.NET websites will run in iis. I unregistered and reregistered the framework but that did not help. Does anybody have any ideas what else I can do. Thanks in advance
Stephen
Stephen Lintott Bsc IT (RAU)
|
|
|
|
|
I checked the tab again and a person can not edit the configuration on it. Don't know if this makes a differance
Stephen Lintott Bsc IT (RAU)
|
|
|
|
|
Open up the IIS Manager, and expand the computer node that corresponds to the server. Highlight the Web Services Extensions node - in the view pane a set of extensions is displayed - one of which is the ASP.NET extension, which will say Prohibited. Click on the ASP.NET extension, and click the Allow button.
By default, IIS now does not set up options until you tell it to, so you have to explicitly enable things like ASP.NET, FTP, etc.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Thanks for the quick reply. I did that but still no luck
Stephen Lintott Bsc IT (RAU)
|
|
|
|
|
I have some libraries and apps written in C++/CLI and C#, and I'd like to obfuscate/protect the source somehow. I've seen a lot of you say how it's a waste of time, and I know there's no silver bullet here. I'm not looking to make it impossible to decompile my software, just more difficult. In particular, I'd like my source to be un-viewable with .NET Reflector and other similar tools. Reflector makes it dead easy to decompile .NET apps, and any developer with 1/1000 of a brain could figure it out. If someone really wants to decompile my code, they should at least have 3/4 of a brain
I read a thread here awhile back about code protection and saw someone recommend .NET Reactor[^]. I've been experimenting with the trial and so far it seems to do what I want - I can't view the implementation of any functions, and the names of all my private members and functions come up as non-printable characters. However, I can still plainly see all the class and public function and property names (but not their implementations). I'd like to obfuscate everything, including all public information, but if I do that, then any app that tries to use the protected library throws a TypeLoad exception (or something like that). I tried emailing their support a couple of days ago, but I haven't heard back yet. Has anyone had any luck with .NET Reactor?
Or, if anyone knows of a better tool with a decent price tag (free / open source is always great ), I'm open to alternatives.
Thanks,
Dybs
|
|
|
|
|
|
Xenocode definitely looks like a great tool (especially being able to integrate the .NET Framework components into the binary), but it's a bit pricey for us. If anyone knows of something under $1000, that would be great. It's hard to compete with .NET Reactor's price tag of only $280 for a company-wide license. Or is this a case of "you get what you pay for"?
Thanks,
Dybs
|
|
|
|
|
|
Dim cmd As OracleCommand
Dim ds As DataSet
Dim dv As DataView
Dim da As OracleDataAdapter = New OracleDataAdapter
' This does not work.. which is what I need, Country and State are entered by the user -
cmd = New OracleCommand("Select state_code, state_name, state_status" & _
" FROM m_state" & _
" WHERE country_code = :country_code AND state_code = :state_code", objConnection)
' -------------------------------------------------------------------------------------
' This works...-----------------------------------------------------------------------
cmd = New OracleCommand("Select state_code, state_name, state_status" & _
" FROM m_state" & _
" WHERE country_code = 'USA' AND state_code = :state_code", objConnection)
' -------------------------------------------------------------------------------------
' This works...-----------------------------------------------------------------------
cmd = New OracleCommand("Select state_code, state_name, state_status" & _
" FROM m_state" & _
" WHERE country_code = :country_code AND state_code = 'FL'", objConnection)
' -------------------------------------------------------------------------------------
' Parameter for State Code...
cmd.Parameters.Add("state_code", txtState.Text)
' Parameter for Country Code...
cmd.Parameters.Add(":country_code", txtCountryText)
da.SelectCommand = cmd
' Bind Fields..
ClearBinding()
' Initialize a new instance of the DataSet object...
ds = New DataSet
' Fill the DataSet object with data...
da.Fill(ds, "m_state")
' Set the DataView object to the DataSet object...
dv = New DataView(ds.Tables("m_state"))
' Set Bindings
txtStateName.DataBindings.Add("Text", dv, "state_name")
txtStatus.DataBindings.Add("Text", dv, "state_status")
|
|
|
|
|
I've write code two style but the same function on my application (Window Application)
1- my form has been load data from table in database in to DataTable and bind dataTable to dataGridView Controls.
in this form need to do any function like insert delete update query..
style one:===================================================================
Public Shared Sub addNewProduct(ByVal p As product)
Try
cmdAddProduct.CommandType = CommandType.StoredProcedure
cmdAddProduct.CommandText = "NewProduct"
cmdAddProduct.Connection = database.cn
With cmdAddProduct.Parameters
.Add("@PCode", SqlDbType.VarChar, 20).Value = p.ProductCode
.Add("@BCode", SqlDbType.VarChar, 30).Value = p.BarCode
.Add("@Des", SqlDbType.VarChar, 50).Value = p.Description
.Add("@Unit", SqlDbType.Int).Value = p.Unit
.Add("@UnitPrice", SqlDbType.Float).Value = p.UnitPrice
.Add("@Stock", SqlDbType.Int).Value = p.StockBalance
.Add("@photo", SqlDbType.Binary).Value = p.Photo
.Add("@sms", SqlDbType.VarChar, 50).Direction = ParameterDirection.Output
End With
cmdAddProduct.ExecuteNonQuery()
cmdAddProduct.Dispose()
Catch ex As Exception
Throw ex
End Try
End Sub=======================================================================
for example style two=========================================================
internal static void Add(Customer value)
{
try
{
//data is dataTable
DataRow row = data.NewRow();
row[0] = Customers.NextID();
row[1] = value.name;
row[2] = value.ssn ;
row[3] = value.phone ;
row[4] = value.address ;
data.Rows.Add(row);
da.Update(data);
}
catch (SqlException) { throw; }
}
Could you tell me which one is better for working with biggest database?
lyrithyforcambodia
lyrithyforcambodia
lyrithyforcambodialyrithyforcambodia
lyrithyforcambodia
lyrithyforcambodialyrithyforcambodia
lyrithyforcambodia
lyrithyforcambodialyrithyforcambodia
lyrithyforcambodia
lyrithyforcambodialyrithyforcambodia
lyrithyforcambodia
lyrithyforcambodialyrithyforcambodia
lyrithyforcambodia
lyrithyforcambodialyrithyforcambodia
lyrithyforcambodia
lyrithyforcambodialyrithyforcambodia
lyrithyforcambodia
lyrithyforcambodialyrithyforcambodia
lyrithyforcambo.
|
|
|
|
|
I'd vote for the first one. The reason is that a DataTable loads all rows into memory, whilst the first one just creates a command and executes that.
I are troll
|
|
|
|