It's a little complicated...
I'm using a Login Form that saves current user in a public variable:
Dim UserQuery = From user In Db.Users
Where user.UserName = txtUserName.Text
Where user.Password = txtPassword.Text...
Thanks for your perfect explanation. Now I'm understanding the problem.
The CurrentUser already exists. Can I fix the problem by attaching current user to the context?
I'm using Entity Framework 6 with VB.NET.
The problem is that when I add a new 'user' object to the context, an additional user is added.
This is the code:
Dim Db As New DbModel
' Create a new user
Dim NewUser = New User With {
.UserName = txtUserName.Text.Trim,
.Password =...
Hi
I want to send PLC file to the laser printer
I used this code but the print job stays in the print queue and could not be printed :confused:
How to send raw data to a printer by using Visual Basic .NET
What can I do ?
Thanks a lot :D
This code just change parent window of Microsoft Word Window and disables the window border & open & save buttons
But I couldn't disable the Ctrl+S & Ctrl+O & Ctrl+P shortcuts
Is it possible ?
Where can I download DsoFramer ActiveX ?
Thanks a lot
I found the solution here :
CodeProject: Integrating Microsoft Word in your .NET applications. Free source code and programming help
Thanks a lot for your great help :D
Thanks a lot
I created my app with this article :D
But the error still exists
But when I click the open button, the document opens in the microsoft word instead of the browser control !
I saw this in the article above :
But the article 311765 does not exists.
Do you know how can I create...
I used this code to show a Word document into a Web Browser Control :
How to use the WebBrowser control to open Office documents in Visual C# 2005 or in Visual C# .NET
This command should load the document into the browser :
axWebBrowser1.Navigate(strFileName, ref refmissing, ref refmissing...
Thanks a lot
I found this code :)
CodeProject: ByPass difficult Automation and add applications "as is" in your .NET application. Free source code and programming help
It shows how to move any application's window to a button,Label or any other controls by changing it's handle
But it seemed...
Thanks
I wanted to test it with Visual Studio 2003, But could not find Web Browser Component :confused:
Then I used VS 2008 Express
But now the code does not do anything and without any errors :confused:
This is my code :
Imports Word = Microsoft.Office.Interop.Word
Public Class Form1...
Hi everyone
I want to create a form control that shows the cam preview and can grab pictures of full resolution (1600 * 1200) by Quickam 9000 Pro
1.Is there any user control to use instead of rewrite ???
2.Is it needed to download Windows DSK ? witch version should I download? I want to use...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.