473,581 Members | 2,786 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Seeking migration advice

I don't know if this is the right group for my question, but I'm seeking
advice from knowledgable .NET developers. Hopefully I've come to the right
place.

I work with a document management application which is tightly integrated
with the workstation Windows environment. Our software does not necessarily
handle any specific document type. User's can import any document type into
our repository. On the display side, we use WinAPI to discover the
associated application for a particular file type, and then to launch that
document with its associated application. To make matters even more
seamless, the native application is embedded into our own application
desktop space, again, using the WinAPI. I can safely say that this
particular VB application is more dependent on WinAPI than any other VB
application I have worked with.

We are contemplating a move to .NET, and a conversion of our Client / Server
architecture to n-Tier. The server side tier will definitely be implemented
using .NET Web Services. Given our dependency on Win32 at the client though,
I'm wrestling with whether the Framework environment at the client will
allow me the close integration we need with the Windows environment and with
the applications registered in that environment, to do the sort of API
operations I've described above. Although I've done several front-to-back
n-tier implementations in .NET, none of them have had this sort of
dependency on Win32 at the client, so I don't really have any frame of
reference to make this determination. Has anyone out there done .NET
implementations with heavy dependency on Win32 API?

Thanks for any advice which you can offer.

- Joe Geretz -
Nov 15 '05 #1
2 1185
Joseph,

You will probably get some guff from people for cross-posting to so many
groups.

Anyhow ... you can certainly make API calls from .NET. Because of the
strongly-typed environment it is not as "forgiving" even in VB.NET, as is
VB6; you have to carefully define all the marshalling.

The superb book, ".NET and COM -- the Complete Interpoerabilit y Guide." (by
Nathan, published by SAMS) has a great section on P/Invoke and an extensive
appendix of P/Invoke definitions for hundreds of WinAPI calls. You might
want to consult that volume before making your decision.

--Bob

"Joseph Geretz" <jg*****@nospam .com> wrote in message
news:Oq******** ******@TK2MSFTN GP11.phx.gbl...
Given our dependency on Win32 at the client though,
I'm wrestling with whether the Framework environment at the client will
allow me the close integration we need with the Windows environment and with the applications registered in that environment, to do the sort of API
operations I've described above.

Nov 15 '05 #2
"Joseph Geretz" <jg*****@nospam .com> wrote in message news:Oq******** ******@TK2MSFTN GP11.phx.gbl...
I don't know if this is the right group for my question, but I'm seeking
advice from knowledgable .NET developers. Hopefully I've come to the right
place.


You won't have any problems with APIs in .net, it is much more flexible than VB6. I've done an API that uses a fair bit of apis for
TWAIN and Video for Windows and had no problems (besides the usual api problems :). The only problem you might have is that it is
sometimes more complicated due to it's greater flexibility.

--
Michael Culley
Nov 15 '05 #3

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

Similar topics

1
1920
by: Keith R | last post by:
I have VB6, and eventually plan to upgrade to dotnet. I will soon start writing an application that will be mostly local (client?) but will interface with a server a few times, to authenticate users (and assign a user code), and at the end of the program, to upload some data back to the server. I figure I can write all the local stuff in...
11
9475
by: Jep | last post by:
Any help or advice appreciated. We have just installed and configured a new DB2 v.8.1 with latest FixPack. Just a few days later it dies and now we have a DB that is totally unusable. - - - - It went all wrong one morning when connecting gave us this msg:
3
1963
by: daveboyd | last post by:
Hi! I have an MFC application that is under development in VS2003 and frankly MFC seems difficult to use and poorly documented -- I frequently find the only way to get example code is on the Internet, not in the huge, mosly useless "MSDN Library". For example, I was advised to use CStatic for drawing some color frames / backgrounds, but...
1
2659
by: rob | last post by:
Dear All, I have a very small test project to convert asp to asp.net using the Microsoft/Artisan ASP to ASP.NET Migration Assistant (http://msdn.microsoft.com/asp.net/using/migrating/aspmig/aspmigasst/default ..aspx). Everything works fine when my include file is in the same directory as the asp file that includes the include file. What I...
3
1231
by: Jean-Marc Pugin | last post by:
Hi, Do you consider CSHARP as THE language to be used for an ASP to .Net migration project. ASP .Net seems a "natural" choice but as .Net is "language neutral" and CSHARP is positioned as THE native language we are requesting some help/advice. Many Thanks.
2
936
by: Joseph Geretz | last post by:
I don't know if this is the right group for my question, but I'm seeking advice from knowledgable .NET developers. Hopefully I've come to the right place. I work with a document management application which is tightly integrated with the workstation Windows environment. Our software does not necessarily handle any specific document type....
0
1149
by: Eric | last post by:
We've got a fairly large legacy ASP site, consiting of one main website with a lot of sub-folders organized in a tree under the main site. We don't use IIS Application/Virtual directories other than the main website root directory (one big application with groups of pages located in sub-folders). I'd guess we have over 200 pages now and it's...
2
2494
by: RONIN | last post by:
Can you tell me what is the best practice for SQL database migration from one DB server, to another one, new DB server. The old DB server will be removed. 1. Backup from old and restore all databases on the new server 2. Export data and copy/import on a new server 3. Something else... Thanks in advance for any good advice...
7
1748
by: Joseph Geretz | last post by:
I have a Service which runs OK, but I'm abviously not starting it properly. In my OnStart event I commence a long running process which polls a database table and performs various processing. Since this polling loop is entered synchronously from OnStart, basically the OnStart event doesn't terminate for the life of the program. This doesn't...
0
7808
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8312
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6564
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...
1
5683
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...
0
5366
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...
0
3809
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...
1
2309
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
1
1410
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1145
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.