|
No, don't uninstall it. The .NET Frameworks are designed to be installed side-by-side.
They are also NOT inclusive of previous versions.
|
|
|
|
|
Thank you for the replies. I downloaded the x64 version of the 2.0 framework, when I try to install it I get a message saying that it is already part of the OS. I also recompiled my app to target the 2.0 framework, for 64bit, any CPU. There are 4 .net services installed on the machine, the one for v2.0 will not stay running if I start it manually. Is there any way I can log what is happening? I have the Windows SDK installed on the machine with Windbg - not sure how to use it though.
Thanks
John
|
|
|
|
|
.NET is not a service. There may be service components, but they are start on demand. You do not start them yourself and they do not stay running all the time.
Your app may be running 64-bit, but the components you're using in your application, like 3rd party COM components may not be 64-bit. If that's the case, you'll have to recompile your app to force a target of "x86 Only". THis will keep your app as a 32-bit app so you can use those components.
|
|
|
|
|
Thanks Dave - I re-compiled as x86, any CPU, Debug, ran the app and it still is not working. I do however get a different, more descriptive error in the Win Eventlog:
Faulting application name: EasToTv.exe, version: 1.1.0.0, time stamp: 0x4fe9de9f
Faulting module name: vrfcore.dll, version: 4.1.1078.0, time stamp: 0x4b702994
Exception code: 0x80000003
Fault offset: 0x00003c38
Faulting process id: 0x1760
Faulting application start time: 0x01cd53b679ed9c44
Faulting application path: C:\EasWin\EasToTv.exe
Faulting module path: C:\Windows\SYSTEM32\vrfcore.dll
Report Id: dbd4ac4a-bfa9-11e1-8220-386077bf39d3
Now the app stays running in task manager, but no window is visible.
Any ideas?
John
modified 26-Jun-12 12:43pm.
|
|
|
|
|
vrfcore is the API library for MS Application Verifier. You should never see this in a .NET app (managed code) since it doesn't work with .NET at all.
Reasons why you might see a problem in here is your .NET app is interacting with the unmanaged world, either directly (Windows API functions) or in unmanaged code (like P/Invoking a function in a .DLL library) and not doing it correctly
I really have no idea what your code is doing, but it's doing something in the unmanaged world and doing it wrong. That's about as much as I can determine given the limited error information.
|
|
|
|
|
That's what scares me Dave is that I'm just calling COM functions that were written by someone else. What confuses me though is that this app runs on another Win-7 box, which leads me to believe that there may be something in the Win-7 configuration that I can tweak to get it going.
|
|
|
|
|
You're going to have to ask the people that wrote that component.
jn6147 wrote: which leads me to believe that there may be something in the Win-7 configuration
that I can tweak to get it going.
Chances are really good that's not the case. Though, your COM component may be dependent on some other libraries, of which you may have the wrong version, or it may require an updated version, such as the Visaul C++ Runtime (fill in version here).
|
|
|
|
|
|
This is not the right forum where you share some link for discussion. This is a forum where people ask technical questions related to .NET Framework, if they get stuck.
I would suggest you to post in GIT[^] or Lounge[^] to move ahead. Since you are new here, I would suggest you to post in GIT and get a little conditioned for CP.
|
|
|
|
|
ok.. Thank you..
|
|
|
|
|
Really? An 8 year old article??
|
|
|
|
|
Dave Kreskowiak wrote: An 8 year old article?
Matches OP.
|
|
|
|
|
Please Explain about Database Cache
and ...
why that not working on my system after create and select server and local databases
mean: 'Ok' button of Database cache configuration wont be enable after the create databases ... why that it is
help me please
|
|
|
|
|
|
Dear Sir
i made a project and it has datagirdview
now those data which are in datagride how to save in database sql
my code save just last row in database even i have 5 rows in datagridview
my code is like that
RS.Open("select * from purchasebill where entryno like '" & TextEntryNo.Text & "'", CN, CursorTypeEnum.adOpenKeyset, LockTypeEnum.adLockPessimistic)
If (RS.EOF And RS.BOF) Then
RS.AddNew()
MsgBox(TextEntryNo.Text & " Is Saved")
Else
If RS("EntryNo").Value = TextEntryNo.Text Then
MsgBox(TextEntryNo.Text & " User Ia Allready Exist")
CmdNew.Focus()
End If
End If
RS("EntryNo").Value = TextEntryNo.Text
RS("Entrydate").Value = MaskEntryDate.Text
RS("BillNo").Value = TextBillNo.Text
RS("billDate").Value = MaskBillDate.Text
RS("SupplierName").Value = TextSupplierName.Text
RS("Billtype").Value = ComboBillType.Text
For i As Integer = 0 To DGVRecord.RowCount - 1
RS("productname").Value = Me.DGVRecord.Rows(i).Cells("Product").Value
RS("batchno").Value = Me.DGVRecord.Rows(i).Cells("batchno").Value
RS("expirydate").Value = Me.DGVRecord.Rows(i).Cells("Expiry").Value
Next
RS.Update()
RS.Close()
|
|
|
|
|
Member 7955236 wrote: my code save just last row in database even i have 5 rows in datagridview
This is because you have written code as such.
Here:
For i As Integer = 0 To DGVRecord.RowCount - 1
RS("productname").Value = Me.DGVRecord.Rows(i).Cells("Product").Value
RS("batchno").Value = Me.DGVRecord.Rows(i).Cells("batchno").Value
RS("expirydate").Value = Me.DGVRecord.Rows(i).Cells("Expiry").Value
Next
RS.Update()
You go in a for loop to define RS but update is outside for which makes only the last for loop executed/set value to go for an update.
Use Visual Studio DEBUGGER to see how things are happening, what is the execution workflow and you will be able to understand and resolve it.
|
|
|
|
|
How Can I Save and Load Tree View Items with those childrens...
Please answer me quickly if possible
and leave vb.net code for it
|
|
|
|
|
You don't save and load TreeView items, you save and load the objects used to create them. Take a look at some of these links[^] for some examples.
|
|
|
|
|
ICEFLOWER2 wrote: How Can I Save and Load Tree View Items with those childrens...
Please answer me quickly if possible
and leave vb.net code for it
You cannot hurry people who don't work for you. It's a Sunday, only had a single cup of coffee, and I don't have a stake in the outcome. If you're short on time, then you'll need to learn to manage your time more efficiently.
You won't receive code either; I'll be happy to answer questions and help with specific examples, but we're not a charity that's in the business of providing free code.
Now that's out of the way, on to your question. You save/load a tree one node at a time, question is where you'd save them. Let's assume a database, like Sql Server. You'd have a table in there, with a field that points to it's primary key.
CREATE TABLE SomeHierarchy(
MyKey BIGINT,
MyParent BIGINT
);
Any root-items would not have a reference to a parent.
..I suggest you search for some examples, there's probably a few on CodeProject
Bastard Programmer from Hell
|
|
|
|
|
I have seen samples for custom code editors (modified syntax highlighting, intellisense, etc.) and I have seen samples for custom visual editors (as UI for editing files when opening with visual studio).
But: How can someone build Visual Studio extensions which allow both; a split code/design as the built-in XAML editor offers?
Is that possible without creating my proprietary editor control from scratch as part of my view?
Any hints appreciated
PS: My goal would be some custom XML with an visual representation on top. Comparable to the XAML editor, but not for UI stuff.
|
|
|
|
|
Wrong forum, try here[^].
|
|
|
|
|
Thanks for the hint. Have searched for such a forum, but didn't find it... seems somehow lost in the list of all forums on bottom there.
|
|
|
|
|
What do you mean you didn't find it? All you had to do was click the link I gave you.
|
|
|
|
|
I think he meant before you gave him the link.
|
|
|
|
|