Microsoft Development

47K

Solutions

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

howshow.png
How to show columns?
0
Ready to get started with anonymous questions?
LVL 9
Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Hi, new member here and first post. My goal is to create a basic tab control using the Win32 API that contains a canvas for rendering OpenGL. Please see attachment for my source code. I created a tab control with two tabs; the first tab contains a button and the second tab contains the rendering context. The first tab, when active, successfully displays a button. The second tab, when active, does not display the OpenGL canvas. The only way I can get the canvas to appear in the GUI is to exclude the tab control (comment out the CREATE_TAB_PANE macro in my example to do this). I am rendering the OpenGL context within a static control. Thanks in advance for your help.
OpenGlTabWin32.cpp
0
language : c++
(tools : visual studio , acrobat reader)
thanks a lot
0
Hello There,

I am trying to create two column report for labeling purposes, I followed instructions on the following link : blogs.wrox.com/article/creating-mailing-labels-in-sql-server-reporting-services

but the data keeps appearing on one column and not on both columns, I changed all sizes and tried tables and lists same results, it just wont populate the second column : ( .

Any help is very much appreciated.

Thank you in advance.
0
Guys, i have a question as specified above!

 '' Enable Double-Buffering for everything.
    Protected Overrides ReadOnly Property CreateParams() As CreateParams
        Get
            Dim cp As CreateParams = MyBase.CreateParams

            cp.ExStyle = cp.ExStyle Or &H2000000
            Return cp

        End Get
    End Property

Open in new window

0
Hello all, I'm new in Exchange Server, and I'm installing at my office Exchange Server 2016, when I test it with the microsoft connectivity analyzer with the option "Exchange ActiveSync"  at  https://testconnectivity.microsoft.com I get the next tons of errors, and I dont know how to solve them :( , hope some one can help me, thanks in advance


Attempting to test potential Autodiscover URL https://mydomain.mx:443/Autodiscover/Autodiscover.xml
Testing of this potential Autodiscover URL failed.

Attempting to contact the Autodiscover service using the HTTP redirect method.
The attempt to contact Autodiscover using the HTTP Redirect method failed.


The Microsoft Connectivity Analyzer is checking the host autodiscover.mydomain.mx for an HTTP redirect to the Autodiscover service.
The Microsoft Connectivity Analyzer failed to get an HTTP redirect response for Autodiscover.
Additional Details
An HTTP 403 forbidden response was received. The response appears to have come from Unknown. Body of the response: HTTP Response Headers: X-FEServer: BLMEGNAHCXE Content-Length: 0 Date: Wed, 28 Jun 2017 01:53:57 GMT Server: Microsoft-IIS/10.0 X-Powered-By: ASP.NET
Elapsed Time: 178 ms.


Attempting to contact the Autodiscover service using the DNS SRV redirect method.
The Microsoft Connectivity Analyzer failed to contact the Autodiscover service using the DNS SRV redirect method.
Additional Details
Elapsed Time: 90 ms.
Test Steps
Attempting to locate SRV record …
0
need custom osd rename L-CITY-serial
L for laptop So for desktop +select city -7 serial computer

I already design that in powershell but it works in local client machine it doesn't work via sccm tasksqence. maybe need to know some tasksqence variables to do this . mdt , udi sccm
0
Hi!

In a long existing application, we suddenly get problems in the vc140 version. This simple code:

    CFileStatus status;
    CFile::GetStatus( iToFile, status );
    if (status.m_attribute & CFile::readOnly)
      status.m_attribute -= CFile::readOnly;
    CFile::SetStatus( iToFile, status );

suddenly has started to offset the "Modified" time of the file with 1 hour. I am guessing it has to do with daylight savings time being active. I tried this hack (which according to documentation is advisable if you only want to change readonly):

    CFileStatus status;
    CFile::GetStatus( iToFile, status );
    status.m_mtime = 0;
    if (status.m_attribute & CFile::readOnly)
      status.m_attribute -= CFile::readOnly;
    CFile::SetStatus( iToFile, status );

but that sets the modified file time to current time (correct enough, I guess), which I do not want. It is a config file we are copying from the program area to the user area and I want to know if it is the original file or a user modified one. Which we achieve by comparing dates.

I can't find anyone else having this problem, which I find kind of strange.

How do I report such an error to Microsoft?

Thanks for any hints on other ways to fix this quickly!
0
Hello Experts,
In continuation to : https://www.experts-exchange.com/questions/29014655/Powershell-help-for-creating-accounts.html
I have a further enhancement request,
I have 2 Columns in SQL
ADGroup & O365Group

These columns contains values, which are separated by comma (,) these are existing groups in AD & O365
I want them to be integrated into the script so that when the new user is created he is added to the respective groups in both the places.

Thanks in advance.
A
0
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
Enroll in July's Course of the Month
LVL 9
Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

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
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
Free Tool: Subnet Calculator
LVL 9
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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

Microsoft Development

47K

Solutions

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.