Microsoft Development

47K

Solutions

58

Articles & Videos

32K

Contributors

Most development for the Microsoft platform is done utilizing the technologies supported by the.NET framework. Other development is done using Visual Basic for Applications (VBA) for programs like Access, Excel, Word and Outlook, with PowerShell for scripting, or with SQL for large databases.

Share tech news, updates, or what's on your mind.

Sign up to Post

I have an unbound object frame which is an Excel Chart and want to connect the datasheet to an Access query in the database so it is always linked to the data source.   For now I have copy/pasted the information from the query to the datasheet and set up my chart but how do I directly link to the query so it updates in real-time?
0
Free Tool: IP Lookup
LVL 8
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

I want to create a program or a service which keeps an eye on the usb ports, and sends an email when the usb keyboard would be removed or tampered with!

Can it be done in the task scheduler, so that an usb event kicks off the task of sending an email to a certain address, in an some email application ?

Or do You know off an utility which can do it?
0
Hello, I have Windows 10 and Windows 7 systems  in a SBS2011 domain environment and at least once a day the windows explorer freezes and I have to reboot. After selecting reboot it hangs at reboot mode. I have to force it to shutdown and and start it again for it to work.  Most of the time windows explorer does not work and also internet access goes away too. I even can not access the C-Drive and the Network Drives. Nothing at all.  I have Symantec Endpoint and Malware Byte endpoint protection installed on these systems. Please help.

Thank you
0
I have a build definition for the build of a web project. The Visual Studion Build argument is set as below:
/p:Configuration=Release /p:WDPMergeOption=CreateSeparateAssembly /p:DeployOnBuild=true  /p:WebPublishMethod=Package  /p:PackageAsSingleFile=true  /p:SkipInvalidConfigurations=true  /p:PackageLocation="$(build.artifactstagingdirectory)\\"

In my log it says that the build has succeeded but there are no resulting dlls in my bin folder for me to deploy to the remote server. Since I am looking for single assemblies, I am looking to see *.compiled, *.aspx.cdcab7d2.dll ect.

Where am I going wrong with this?This is what I want to see. I am not seeing any of these dlls
0
Guys I've tried everything that you guys said but none of that works I don't know if my computer have some other problems or something, does any of you guys know any method I could use??
0
hello

When I create a new variable in a vba file in class module and I try to save this vba file for excel, excel crash
Is someone can explain me why I can't modify this vba file ?
0
Hi Guys,
I have Data sheets that contain numerous ever changing numbers but Excel wont distinguish between (examples)  501550.500 and 501550.5 or 1.2 and 1.20 etc... which are two totally different numbers and I'm trying to total each set/group individually ?
I'm using this =--(LEFT(A1000,SEARCH(".",A1000))&RIGHT("0"&REPLACE(A1000,1,SEARCH(".",A1000),""),2))
but it is placing a zero in front of numbers like 15.2 which becomes 15.02 and still wont distinguish between 15.02 and 15.0200 ? see my problem?
Can You Please Help??
0
I open my visual studio 2010 load a website and all toolbox controls are grayed out..

How can I enable them?

Or how do I start a new project with the controls enabled?

Any ideas?
0
I have a color filled rectangle.  I want to animate a shape travelling across the rectangle such that it is not visible beyond the rectangle's bounds, but still appears to be entering and leaving the rectangle.

In WPF this could be easily accomplished by setting the ClipToBounds property to true, but this doesn't exist in UWP :(

Any ideas ?
0
I have a command prompt utility (EXE file) built under windows 64bit.
This utility uses 64-bit DLLs

Utility runs from command prompt without any issue.

Now I want to launch this 64-bit EXE from a 32-bit COM object.
64 bit EXE launches fine. It performs some actions just fine too.
However, when inside 64 bit EXE there is  call to 64  bit DLL, then it breaks and stops working,.

Is there any reasonable explanation to that ?
0
Announcing the Most Valuable Experts of 2016
LVL 6
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

With VBA, in MS Access 2013, I need to be able to read a MS SQL Server database diagram. I am working with a .accdb
0
hello guys iam working on making a software to connect to sabre API s from my program
but when I try to connect i have authorization issue i want to know how to connect to a Sabre API using Vb.net
0
I am loading data from multiple tables. I sorted the data using the Sort function in Visual Studio. When I try to Merge Join after sorting I keep getting this error.

Merge Joiner: "Both inputs of the transformation must contain at least one sorted column, and those columns must have matching metadata."
0
Looking for some input on how to resolve this error.  Seagull support was no help.  Any suggestions appreciated!

I dropped their Seagull.Bartender.Print.dll in the bin folder of my asp.net vb.net website and get the following error.

Warning      2      Namespace or type specified in the Imports 'Seagull.BarTender.Print' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.      \\web1\c$\inetpub\CassavaTracker2\Seeds_SeedPlanting.aspx.vb      4      9      CassavaTracker2(1)


Could not load file or assembly 'Seagull.BarTender.Print' or one of its dependencies. An attempt was made to load a program with an incorrect format.
  Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

 Exception Details: System.BadImageFormatException: Could not load file or assembly 'Seagull.BarTender.Print' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Source Error:

 An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Assembly Load Trace: The following information can be helpful to determine why the assembly …
0
I have this currently in my IIS web.config file.
<rule name="services" stopProcessing="true">
                    <match url="^account$" />
                    <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                    </conditions>
                    <action type="Redirect" url="https://www.oorah.org/account/public/" />
                </rule>

Open in new window


how can I change this to a rewrite that it should just stick public after the account?

I want, if you go to
www.oorah.org/account  should rewrite to www.oorah.org/account/public/
if you type
www.oorah.org/account/thezone should rewrite to www.oorah.org/account/public/thezone.

etc.
like that
0
Hi

I'm looking to get some feedback on the best approach to designing a new system.

Basically our company like to keep all the business logic contained within the database(stored procedures), its always been like this and needs to stay the same. So we have been asked to come up with new layered applications using the latest .NET Core with VS2017 (MVC & WPF MVVM). The reason these 2 have been mentioned is that they are the best way forward in terms of web and windows based applications...do correct me if I'm wrong.

My question is...What would be the best way to design layers around keeping business logic in DB?

Having not used any of these technologies I'm looking to find good examples of how I can approach setting up layered architecture, based on our business needs.

Could we use EF7 using stored procedures or EF using LINQ? or just use plain old ADO.net without EF?

Could we still use layers like so with or without EF (Presentation Layer, Service Layer(API), Business Layer, Data Layer)? Either way any examples would be great.

And could both technologies both benefit using these layers -> Service Layer(API), Business Layer, Data Layer for reusability?

Any feedback most welcome and appreciated.

Thanks
0
We are developing a windows 10 (UWP) application. And we have a WCF service already hosted. After adding the WCF service using  “add Service reference”, it appears in the reference folder(e.g.: myservices), but we can’t create an instance of it (myservices.service1client service = new myservices.service1client()). myservices doesn’t exist in the context.
Question is: what seems to be the problem here? can we consume a WCF as a service reference in UWP?
0
How to fix  issue.[ error the ordinal 3872  could not be located in the dynamic link library ssleay32.dll] in windows server 2012 R2
cmd prompt :mxuser -m Administrator -p debug a popup error has been generated .
 could not be located in the dynamic link library ssleay32.dll
0
Good morning techs!  Where in Win 7 Computer Management is an event like SW installed or uninstalled?  Ive been looking for a few days.  I KNOW it exists b/c when I was a dtp support one time and uninstalled some SW, a developer accused me of changing his system.  I was trying to keep that part secret, but I got busted by him!  LOL.  It was not a big deal, but I dont remember where he got the screenshot he sent me and asked me why I did what I did that day.
Any assistance is appreciated.
Thank you,
Mark88
0
Salesforce Has Never Been Easier
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Good Day,
I have a custom button on the HOME ribbon of Outlook. From HOME, when an email is selected by double clicking, it opens the message in a new window. I want this new window to also contain my custom button inits ribbon. I have Visual Studio 2015 with the Office plug-ins. I have found some help for for the main Outlook parent window but not its spawn.
Please advise,
Jim
0
I have developed report in VS2015 integrated shell and I am having sql server 2014 on my machine,when I am trying to deploy the report is am getting the error "the definition of the report is not valid.........details: There are multiple root elements line 2 position 6509.
Could anyone please suggest
0
I'm a novice and don't understand what any of this document is.  Pretty straightforward I found it on my computer I saved it to my email and now I'm wondering what is this? Does this have anything to do with hosting websites or a server or if you're so inclined please tell me I'd love to know. Not a really big deal if you can't but I'm just pretty curious. Pretty straightforward I found it on my computer I saved it to my email and now I'm wondering what is this? Does it have anything to do with posting website or a server or if you're so inclined please tell me I'd love to know. Not a really big deal if you can't but I'm just pretty curious. There's a lot more pages to this file but I thought this might give you a good idea
Screenshot_2016-07-23-16-25-16.png
Screenshot_2016-07-23-16-26-31.png
selog.png
0
Hello Everyone,

I hope you are doing well ?\
I would like to exchange with you the following c# sample code to collect your overview on my approach.
The company has hired a new young developper and was complaining I was not following the development rules.
As speaking loudly without positive explanation is never a good way, I would like to have your opinion on the following project:

The test program is the following:

You have a manager which has a Listerners and an Acquisition property.
The Acquisition will invoke the hardware to acquire data and the listener will be informed to read out the data stream.

PictMain.png
Now the different elements;

PictInterfaces.png
The Manager
PictManager.png
The Acquisition:
PictAcquisition.png
The Listeners and Listener:
PictListerners-Listerner.png

I am sure this can always be tuned but am I really in the wrong way ?
Am I doing really bad things there ?
Waiting for your inputs.

Thank you very much in advance.
Best regards.
MiQi.
0
CLICK BUTTON WHEN TEXT BOX DATA MOVE PERTICULAR LABEL CONTROL IN C# .NET WPF APPLICATION
0
Affected Environments: Windows Server 2008 R2 and Windows Server 2012 R2 (both Terminal Server editions)

We are experiencing an issue where our installer fails to install correctly at several client sites due to the following error:
Error 1911. Could not register type library for file <filename>.tlb.  Contact your support personnel.

Our installer is authored as a Visual Studio Setup Project (vdproj), using Visual Studio Professional 2010.

For each tlb type library file that is included in the installer, the user is prompted with the above warning. If they choose to ignore, the install proceeds but the type library does not register.

Looking at the generated output using Orca, I can see that the component has caused a TypeLib table to be generated, with a single entry. This is what is causing the error during installation. Referring to the following Microsoft article however, states that package authors are ‘strongly advised’ against using the ‘TypeLib’ table and should use the ‘Registry’ table instead.

https://msdn.microsoft.com/en-us/library/aa372092(v=vs.85).aspx

I also tried creating an equivalent install through Installshield and found that it only uses the Registry table and not the TypeLib table. As a result, this install worked fine.

Some of the problematic sites have only become a problem recently, and our install packages have not changed. One site successfully installed our product approximately one year ago, and now it has become an issue. …
0

Microsoft Development

47K

Solutions

58

Articles & Videos

32K

Contributors

Most development for the Microsoft platform is done utilizing the technologies supported by the.NET framework. Other development is done using Visual Basic for Applications (VBA) for programs like Access, Excel, Word and Outlook, with PowerShell for scripting, or with SQL for large databases.