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
Want Experts Exchange at your fingertips?
LVL 9
Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

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
I am currently looking for a way to detect if the "Pause Printing" option in the "See What's Printing" window is checked in Windows.

I've searched high and low, and looked into the Win32 native printing API (winspool) to see if there was such a detection available, but to no avail.

Is there anyone who has experience with a successful implementation of this detection?

I'm looking for a solution in either C/C++, or C#.
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
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 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: Port Scanner
LVL 9
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

When I use FileInfo to return the size of a file for me, it is returned in bytes. The code is simple enough.
FileInfo fi = new FileInfo(filePath);

Open in new window

The code then returns 16599774 bytes for the file in question.
size in bytesI then convert it to Megabyte by using the following code in an extension method.
return (bytes > 0) ? (bytes / 1024f) / 1024f : bytes;

Open in new window

I return the MB size as follows:
$"{Round(fileLength.ToMegabytes(),1).ToString()} MB";

Open in new window

I see that the size returned is 15,8 MB. When I look at the file properties however, I see this:
file propertiesWhen I view the file in Windows Explorer, I see a different size again
explorer sizeMy question is this:
1. Why the difference in file sizes between 15.8 MB and 16 599 774 bytes that I am seeing in code and in the file properties? Does it have to do with the data types? The bytes being long and the MB being double?
2. Why is the file size in Windows Explorer different again at 16 211 KB?
I understand why there is a difference between Size and Size on disk, but not between bytes and MB.
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
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
I have a computer with windows 10 & suddenly the windows start button & search dialoge box will not respond at all.  Neither will the sound icon on the right side respond to any click on the mouse.  I have run spyhunter scan & pc-matic scan but that didn't help, so I am needing some assistance on this issue.
0
What is differences between MSDN Subscriptions/downloads and The Volume Licensing Service Center (VLSC)?
0
I'm new to both VS, cordova and everything else in between (but long time programmer).

When trying to install cordova plugins via config.xml, choosing from local path, it appears to fail to install or crash if the directories have spaces in them or if any of the variables have spaces in them (eg. a facebook plugin asked for a appname and if i put in two words it would fail).

Am i missing something or do these plugins still follow dos standards where spaces and periods are not allowed and should be only 8 characters long?
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
I have a system that when installed on one computer works fine, but when I try to install it in another computer with the same version of windows and visual studio installed I get the error below. I have checked the settings on IIS and folder permissions, everything I can think of I still get the error. Any help is greatly appreciated.

QFEBridgeTest error '80070002'

Could not load file or assembly 'QuikFormsEngine, Version=5.4.6138.29377, Culture=neutral, PublicKeyToken=227dd225964096dd' or one of its dependencies. The system cannot find the file specified.

/bluedot_qtr2_2017/Intranet/Cases/forms_bridgecall.asp, line 2177 

Open in new window

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.

Experts,

What to use for the language parameter.  We have a sql db and a Language Translation table, with each of the UI text or message strings  translated into three languages (more to come).

Currently they are filtered with an "LCID" like "1033" for "en-US", "1036" for "fr-FR " and "2058" for "es-MX".  However, none of the tested browsers return LCID.  Chrome only returns a two char string, (fr and es), where FireFox does 2 and 4, fr and fr-FR, es and es-MX.  So the int LCID 1033..., seems like a bad choice.  I can change the 4 character ones to LCID but not the 2 character ones, es = 10, fr = 12.  10 and 12 do not show up in the LCID table here.  I need this to work with CultureInfo for date and time and number formatting.  This issue must have been solved already but I have not been able to find it.

Kind Regards
Sam
0
As of yesterday, ONE of my projects changed the way it does the browser emulator menu item.

It used to have a list of browsers on my machine. That is still true for other projects. But this one project instead has a "Start" menu and I have to go to "Browse With" to select a browser. All the browsers are gone. If I select one in "Browse With" or even all of them, the browsers are still not showing like they used to.

This is how it is now:

The way it is now.
This is how it should be and is in other projects:

The way it should be.
Any ideas how to get this back to normal?

thanks!
0
I am a C# MVC .NET developer but have not yet heard much about what MicroSevices are.

Please enlighten me.

Thanks.
0
I setup MDT server  for our company for cloning  different laptops of different models . Some of them are old and some are  latest models. Cloning is going fine when I use PXE. But when I create a bootable media and try to clone of a USB only laptops which are UFI capable boot fine and the one are BIOS onlly are failed to boot
 Again all laptops are absolutely fine when I clone using PXE. It  just a problem with old laptops having them clone with USB. I see the PXE Clones laptops based on UEFI and BIOS .I see it formats old laptops in BIOS mode and newer model it formats in UEFI mode. If I use USB it only formats UEFI. How can I change the configuration on SUB so it detect which technology laptop has and formats either BIOS/UEFI. Like PXE is doing ????
0
I verified the hosted version of the RestClient is running from the browser...

But I get the error:

The remote server returned an error: (400) Bad Request.

An exception of type 'System.Net.WebException' occurred in System.dll but was not handled in user code.

Suggestions?

Thanks.
0
According to the doc I've seen, NuGet is supposed to be included in VS2017 -- but I don't see it.  Definitely not where it was in VS2015.  Or maybe the doc is wrong and I need to install it?  But couldn't see how to do that.... argh.
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.