Forum Widgets
Latest Discussions
Make Splash Screen for C# Windows Applications
What is Splash Screen? A splash screen usually appears while a application or program launching, it normally contains the logo of the company or sometimes some helpful information about the development. It can be an animation or image or logo or etc. You can see lot of mobile application developers has done it but it's not common in Windows desktop applications. Making the splash screen is not a big deal if you are familiar with C# application development. Here I ll show you the steps of creating it. As usual idle is Visual Studio 2019 Create new Project - C# Windows Form Application Give a friendly name for your project and Create Once done add a new form to your project where we are going to add our splash screen logo or image Once done, I am adding a progress bar and image to the screen, also change the following in the form properties Auto Size Windows Screen - False Control Box - False Windows Startup Location - Center In the progress bar properties change the style to Marquee Marquee animation speed to - 50 Now we have finished the designing of the splash screen form, will continue to add the screen in the startup of the project and debug now Go to the main screen form coding cs file Here I have used the following System libraries which available in .NET 4.0 on wards using System.Threading; using System.Threading.Tasks; Now in the public start the Splash screen form by calling like this method, public void StartForm() { Application.Run(new SplashScreen()); } In the Main screen Initialize the component thread function for the splash screen form like this Thread t = new Thread(new ThreadStart(StartForm)); t.Start(); Thread.Sleep(5000); InitializeComponent(); t.Abort(); Total coding will be as following using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace Splash_Screen_nTest { public partial class MainScreen : Form { public MainScreen() { Thread t = new Thread(new ThreadStart(StartForm)); t.Start(); Thread.Sleep(5000); InitializeComponent(); t.Abort(); } public void StartForm() { Application.Run(new SplashScreen()); } private void MainScreen_Load(object sender, EventArgs e) { } } } Once u debugged the application it will run as expected Source code can be downloaded from here - https://github.com/Gohulan/C-_Splash_Screen Happy Coding !!GohulanMar 29, 2020Copper Contributor50KViews1like1CommentC-suite execs expect cyberattacks targeting financial data to increase this year
The financial data stored by organizations is often critical and sensitive, which is why this type of information is frequently in the crosshairs of cybercriminals. The theft and leaking of such data can easily hurt business dealings and other transactions, especially for publicly-traded companies. A report released Wednesday by research center Deloitte Center for Controllership reveals expectations of a rise in these types of cybersecurity attacks.For this report, Deloitte surveyed more than 1,100 executives from the C-suite and other executives during a webcast on Oct. 26, 2022. The participants were asked about attacks targeting the financial and accounting data of their organizations. Financial and account data specifically targeted Among those surveyed, 34% said that their accounting and financial information was specifically targeted by cybercriminals over the past year. Within that group, 22% said they were hit by one such attack, while 12% said they were victimized by more than one. Looking ahead, almost half (49%) of the executives polled expect both the volume and size of cyberattacks targeting this type of data to increase in the coming year. Some 22% said they anticipate no change, while only 3% said they expect such attacks to decrease. Alignment between cybersecurity and finance groups Since financial and accounting data is such a lucrative and tempting target for cybercriminals, a close relationship between an organization’s cybersecurity group and its financial group seems in order; however, just 20% of the respondents said that the two groups in their business are working together closely and consistently. Some 42% said the groups in their organization are somewhat aligned, working together as needed but more inconsistently, and 11% said the two groups in their environment don’t work together at all. Recognizing the importance of a closer relationship between cybersecurity and finance, 39% of those surveyed said that they expect an increase over the next 12 months in the way the two groups work together. Some 29% said they anticipate no changes, while just 3% said they expect the relationship between the two groups to decrease. “Accounting and financial data is the lifeblood of organizational operations — and often meant to be kept confidential outside of highly regulated public disclosures for publicly traded organizations,” Temano Shurland, a Deloitte risk and financial advisory principal in finance transformation, said in a press release. “While there may not have been much need for accounting, finance and cyber teams to work closely in the past, recent years have shown that’s no longer the case. We strongly recommend that these teams try to ‘learn each other’s languages’ and tighten their working relationships across silos.” The theft and compromise of financial and accounting data can have a large impact on an organization. When asked whether they have a process to identify the financial impact of the potential cyberattacks on this type of data, 25% of those polled said they do, 17% said they don’t currently but do plan to have one in the next 12 months, and 20% said they have no plans to implement such a process. How to protect financial data against attacks To help organizations with financial and account data better protect this information from compromise, Daniel Soo, a Deloitte risk and financial advisory principal in cyber and strategic risk, offers the following advice. 1. Understand the data Organizations should start off with a strong understanding of their high-value finance or accounting data. 2. Security teams need to work with the business If the high-value financial data isn’t well understood or defined, security staffers should work with the appropriate business groups to help with this process. The key is to understand how the data supports business operations to determine what is and is not an acceptable use of the data. 3. Bake security into the systems Security should be designed into the financial systems that hold the data. To that end, integrating the right security and applying the right controls demands close coordination between the security group and other business teams. “This helps balance cyber risk management needs with business needs to execute day-to-day operations with minimal disruption,” Soo explained. “In fact, we’ve seen leading organizations also solicit end-user inputs on data security efforts to support organizational change management, while also leveraging security technology and processes to help automate, scale and secure data as efficiently and effectively as possible.”Kamran_ShFeb 11, 2023Copper Contributor48KViews0likes0CommentsHow to enable DHCP on Hyper-V switch
Hi, When any VM connected to "Default Switch", they get automatic IP and can reach each other. When I create manually any switch: Internal, Private, External - DHCP does not exist and I have to assign IP address as static or run a DHCP server on one of VMs... Question: How to enable DHCP on Hyper-V switch Thanks 8]othernamenJan 16, 2022Copper Contributor46KViews0likes3CommentsChatGPT — Let’s chat with Artificial Intelligence Assistant
ChatGPT is a one of text based digital intelligence assistant developed by OpenAI which is trained to optimize language models for dialog through artificial intelligence. Why they named as GPT instead of ChatBOT : GPT stands for Generative Pre-Trained Transformer, it means they programmed to work together with AI and the capable of understanding natural human language and generating impressively detailed information like a human being reply. GPT captured the human language and convert it to computer language, again decoder decodes the computer language and dividing it to several sequences. Each sequence predicts the probable through trained AI mechanism which is trained on a massive dataset. Also, this AI trained to reward in several process, Rewards algorithm is designed to learns through trial and error to maximize the rewards. Let’s Start with ChatGPT : To start with ChatGPT visit OpenAI (https://openai.com) and Try Here Before you start talking with ChatGPT, you must create a login using your email address or Google SSO. When you login to the ChatGPT you will be able to see the examples, Capabilities and Limitations of ChatGPT AI Here I am getting a sample text to ask sorry from my girlfriend, Let’s do that Click on New Thread and Type what you need to interact with Awesome! here we go with the results I got, Here I am going to try a translation with ChatGPT, I have translated the below sentence from English to Sinhala Sentence: I Love you Let’s check ChatGPT have enough knowledge on computer programing language, Will try to create a C# console line application to display Hellow World. See What I have asked What ChatGPT have provided Awesome results, like a lecturer or developer replies. Hope everyone immediately starts exploring with ChatGPT AI and help them to develop more with your requirements. Happy Chat !!GohulanJan 02, 2023Copper Contributor25KViews1like0CommentsHow to configure Windows Sandbox
With the latest release of Windows 10 (1903), Microsoft introduced a new feature called Windows Sandbox. Windows Sandbox is based on Hyper-V technology and allows you to spin up an isolated, temporary, desktop environment where you can run untrusted software. In this blog post, I will show you how you can set up and configure Windows Sandbox in Windows 10. I will also cover who you can do an advanced configuration of your Windows Sandbox using Windows Sandbox config files. The sandbox is great for demos, troubleshooting or if you are dealing with malware. If you close the sandbox, all the software with all its files and state are permanently deleted. It is a Windows 10 virtual machines, with the advantage that it is built into Windows 10, so it leverages the existing OS, which gives you faster startup, less footprint, better efficiency, and easier handling, without losing security. Blog Link: https://www.thomasmaurer.ch/2019/05/how-to-configure-windows-sandbox/17KViews5likes0CommentsGenerate your imagination with Midjourney
Have you heard about generating pictures with the words, imagine you need a picture of vintage camera in the background with Dj lights and the quality should 4k. Normally what we can do is googling the above requirement and download the picture from the internet if it’s already existing somewhere. If it was not there in the planet, we have to download the vintage camera and DJ back lights background separately and start merging those with the help of photo editing software and to export in the quality of 4K. Are there any possibilities to get the image as you want and further edit until you satisfied with the image, it’s just like chatting with a graphic designer and do the modification in the chat box. Yes, do we have an AI bot called Midjourney. What is Midjouney ? Midjouney is an AI bot which is developed to understand human requirements and to provide the imaginative results to expand the power of the human species. Simply an AI image generation tool, with the input given from human texts. Get Started with Midjourney To get started with Midjourney just you need only your browser and go to Midjourney (https://www.midjourney.com/) Join the Beta to explore the AI image generation, it will direct you to a different page to connect you with their official Discord channel, accept the invite to join Midjourney Once accepted you will be directed to the Discord channel new Commer rooms, it will be named as #newbies-xxxx How to Generate the image with Midjourney Bot — Soon after you joined in the Discord rooms, you need to generate the image with Message or text, Every text should start with - /imagine and the parameters needs to be entered. /Imagine [parameters] Ex: I am going to generate a Vintage camera image with the DJ Lights background, Image Resolution is 4K There was not any coding or any scripts, just typed the requirement as in the plain text format. Now it’s accepted the challenge and waiting to start, it will generate the image and provide you the results, generating results will be took some time to display in the room. Here are some results generated with Midjourney AI. Wow! It’s pretty good, what are U1,U2,U3,U4 & V1,V2,V3,V4 U1, U2, U3, and U4 are buttons for Upscaling your chosen image & in the bottom row: V1, V2, V3, and V4 are buttons for creating Variations of your chosen image. Creating variations will generate four new images, similar in overall style and composition to the image you selected. How can I save the images to local computer? I am going to save the image no 3 to my local computer. Select on U3 I have selected the image no 3 and it’s upscaling the image. It’s upscaled and the image is in the preview mode now, if you need to do Make Variations, Light Upscale Redo or Beta Upscale Redo you are free to do it here. without any modifications I am going to save this image to local computer. Clink on the image and save to computer as how you save the picture from internet or else if you want to open the original click the Open Original option to view the original image in the web to save. You can find my original image here: Gohulan_Vintage_Camera_in_the_background_of_Dj_Lights_4K_fe864ba5–14fa-4024-bdf5–51852e6e3345.png (1024×1024) (discordapp.com) Learn more about Midjourney : Quick Start Guide — Midjourney Documentation (gitbook.io) How to get the information about your discord profile Type /info in the message box and send to receive the information about Can I upload my own image and generate a custom edit: Yes, it’s possible here the way how you can do it. Go to Message box and upload the file to chat room I am going to upload my own image and to convert me as a cartoon character with Midjourney bot Once the picture is uploaded, get the link by right click the image and select copy image link Oh! Here my cartoon character has been released Limitation in the free tier: In the free tier whatever the images you are generating is public, so if you want to generate images privately use the parameter /private to switch the chat bot to private mode. Here I am unable to do it since I am on the free tier. Subscriptions can be found here: Midjourney Subscription Hope you are in the Midjourney to start your AI journey with generating images.GohulanJan 02, 2023Copper Contributor12KViews0likes0CommentsMICROSOFT BING VS GOOGLE BARD: CHATGPT CLONING BATTLE HAS BEGUN
I’ve never found Microsoft Bing to be my favorite search engine. Given that the Redmond giant has been talking about the acquisition of OpenAI for some weeks, perhaps this will soon change. Since then, there have been reports that ChatGPT, which is becoming more and more well-liked, may soon be available on Microsoft’s services. The Office or Outlook suite is the main subject. However, the Redmond company has also formally announced the launch of ChatGPT in Bing, so this is not the only area. This function could transform how we look for content and gain certain Google users. Artificial intelligence has been around for quite some time. On a daily basis, it was not always apparent. Now, though, that will change as more people use ChatGPT, an extremely intelligent bot. The fact that Microsoft invested in the OpenAI business that was behind it does not surprise me. As a result, the company may reinvent tools and add new features to enhance how people use its services. MICROSOFT CHALLENGES GOOGLE WITH ITS NEW BING SEARCH ENGINE WITH INTEGRATED CHATGPT As was widely anticipated, a few hours after Google’s Bard announcement, Microsoft also made a statement. Microsoft officially debuted a new version of its Bing search engine based on artificial intelligence built by OpenAI, a firm in which it has made several recent investments. The technique is comparable to that which forms the basis of ChatGPT. The greatest software sector of all, search, will be radically changed by AI, according to Satya Nadella, president and CEO of Microsoft. “And now is a new day for research,” says Natella. In order to provide “better search, more thorough answers, a new chat experience, and the capacity to develop content,” Bing will come pre-installed with a newly redesigned version of the Edge browser. Microsoft has combined search, navigation, and conversation into a “one unified experience” that is accessible from anywhere on the internet. Bing provides both an enhanced version of the standard search interface and richer, more complicated responses produced by looking through search results. For instance, comprehensive vacation plans may be planned, recipes can be viaewed and comprehensive instructions can be executed, or a new interactive conversation can be accessible that is comparable to ChatGPT chatbot. You may use this conversation to focus your search by asking questions that are more and more relevant until you get the response you need, complete with any relevant connections. Similar to ChatGPT, Bing may provide you ideas for emails, contest preparation, travel plans, and other things. In any event, Bing will always provide citations for all references. Microsoft has upgraded the Edge browser by redesigning its user interface and introducing new artificial intelligence services including “chat”. In the first scenario, you may conduct a search and then hone it in the discussion. With composition, you may start with a list of beginning instructions and, as needed, change the tone, structure, or length of the text. According to a blog post written by Microsoft vice president and marketing manager Yusuf Mehdi, the new Bing is the result of years of research by Microsoft and OpenAI. The next-generation AI model that powers Bing is more powerful than ChatGPT chatbot and is modified exclusively for search. Microsoft refers to it as “Prometheus,” a model that offers greater security and the ability to give more pertinent, fast, and targeted results. Today, a restricted peek of the new Bing is accessible on desktop. Anyone may sign up for the waitlist on Bing.com. More users will be able to access the preview in the following weeks, and a mobile version will shortly be accessible in beta. “AI will fundamentally change every category of software, starting with the biggest of all – search. Today, we’re launching Bing and Edge powered by an AI remote and chat to help people get the most out of their search and network experience” said Satya Nadella, president and CEO of Microsoft. WHAT’S NEW IN BING? The search engine offers several new features. Microsoft has combined search, browsing, and chat into one unified experience that can be used anywhere on the web. Here are its features: Better Search: The new Bing provides an improved version of the familiar search, providing more relevant results. There is a new sidebar here that shows more comprehensive answers if the user needs them. Full Answers: Bing searches through results from across the web to find and summarize the answer a user is looking for. Instead of scrolling through several pages of results, Bing will provide an answer to a specific question. A new chat experience: For more complex searches, the new Bing offers an interactive chat. It allows you to narrow down the search until you get the full answer that the internet user is looking for, asking for more details. Creative content: ChatGPT users have repeatedly asked the bot to generate longer content, poems, etc. The new Bing can generate these types of phrases without any problems. Interestingly, it also cites all of its sources so you can see links to the web content it references. What makes Bing know so much? Well, it includes four technologies: Next generation OpenAI model: Interestingly, Bing runs on a large new next-generation OpenAI language model that is more powerful than ChatGPT and modified specifically for search. It uses key features and advances from ChatGPT and GPT-3.5 – it’s even faster, more accurate and more efficient. Microsoft Prometheus: The giant from Redmond has developed a proprietary way of working with the OpenAI model, which allows you to make the best use of its power. This combination provides more relevant, timely and targeted results with higher security. Application of artificial intelligence to the basic search algorithm: Thanks to this AI model, even basic search queries are more accurate and relevant. New user experience. Microsoft has changed the way you interact with your search engine, browser, and chat, combining them into a unified experience. CHATGPT IN BING IN PRACTICE – HOW AND WHEN WILL IT WORK? The new Bing is available today in a limited preview for testers. However, you can try it on bing.com, but only on the example of selected queries. Which does not give you many options. However, Microsoft has opened a waiting list for new features. Waiting times can be speeded up by using Bing in your browser. In the coming weeks, Microsoft intends to enlarge the preview version, so more users will see the full capabilities of ChatGPT. Interestingly, the mobile version will soon also be available in preview. How does it work now? The main Bing window is already prepared for entering queries. I tested how it would work using the examples provided by Microsoft. After entering the query, in addition to the traditional page link results, the well-known bot (ChatGPT) will be displayed on the right side of the window, which will answer the query. If the user is interested in such content, he will be able to see more and interact with the bot, e.g. by specifying the query. In the video attachment, Microsoft demonstrates how communication with the bot may function. I’ll be honest: the new feature is exciting, and I would like to use it. However, doing so will require giving up on Google. It is important to note, however, that Google revealed the Bard competition for ChatGPT. The competition among companies to rule the artificial intelligence industry will be quite exciting to watch. GOOGLE UNVEILS BARD: ITS RESPONSE TO CHATGPT It was just a matter of time until the Web giant announced through a press release that it would be making investments in generative AI for its search engine. Google seems hesitant, though, as “Bard” is now only accessible to “trusted testers” while ChatGPT is available to everyone. Bard is Google’s response to ChatGPT. The Web giant confirmed the existence of its internal chatbot in a news statement that was widely covered by the media. The post is titled “a big stride in our advancement in AI”. The OpenAI bot’s importance and success must be acknowledged. Google raised the alarm and even called the company’s founders, Larry Page and Sergey Brin, to the scene. The threat required a prompt response from them. We wished we could have been there at the talks that resulted in Sundar Pichai’s uncommon publication of the memo introducing Bard. The CEO of Google emphasizes the importance of this announcement with mysterious claims. Such as “AI is the most promising technology we are working on today”. WHAT IS GOOGLE BARD? Bard is dependent on LaMDA, a powerful language model that Google first introduced at Google I/O 2021 but has never been brave enough to share it with the public until now. This will be the case, according to Google, “in the coming weeks”. The chatbot will be saved for “trusted testers” for the time being (sic). A “lite version” of LaMDA, a less sophisticated model that “needs less processing resources, allowing us to deploy to a wider number of users, and allows us to handle a bigger stream of input,” will also be used to power it. Pichai summarizes in his essay what sets his bot apart from OpenAI’s without once mentioning ChatGPT. “Bard’s goal is to unite our great language models’ strength, intellect, and originality with the depth of the world’s information. It uses data from the internet to deliver current, excellent responses. A direct attack on ChatGPT, which is now restricted to a frozen old mass of data. Whereas Bard would have immediate access to new content. However, we are unsure about Bard’s specific skills and the format in which he will be made available to us. Will it be right in the search results? or maybe an application? Connected to the Assistant? I’m not sure right now. However, Google provides screenshots and animated GIFs with an interface that resembles that of its search engine as examples of how to use its new robot. For example, you could ask Bard, “Which is easier to learn between piano and guitar, and how much time does each take to practice?” in order to obtain a response constructed in natural language. Here is the response, published in the press release: “Some say the piano is easier to learn because finger and hand movements are more natural, and learning and memorizing notes can be easier. Others say it’s easier to learn chords on the guitar and you could learn a pattern in a few hours. Music teachers often recommend that beginners practice at least an hour a day. To reach an intermediate level, it generally takes 3 to 6 months of regular practice for the guitar and 6 to 18 months for the piano”Other illustrations, such as organizing a baby shower, creating meals with goods found in your refrigerator, or the most recent findings made by the James Webb telescope, are also emphasized.Windows Server Headless install?
Just wondering if folks have a lot of experience or interest in a Headless Windows Server 2019 Core install. I've been working with setting one up for the last little while and I've compiled a bunch of resources that I've needed along the way to help with the configuration.Rick ClausOct 30, 2020Microsoft5.8KViews2likes0CommentsDetection of AI-generated plagiarism: mission initiated
Picture this: you are a teacher eagerly checking your inbox, awaiting your students’ homework assignments with anticipation. You’ve assigned a project that you believe will push your students to their limits and unlock their full potential. But as the first submissions start rolling in, you can feel something isn’t quite right. As you begin to grade the assignments, you’re struck by a stark realisation — a number of them are eerily similar, but with unique phrasing and writing styles. It’s not simple cut-and-paste plagiarism but rather the work of advanced AI tools, like ChatGPT, that are able to mimic writing styles and generate undetectable original content. Will you be able to spot the difference and outwit the AI? Think of artificial intelligence as a tidal wave crashing onto the shores of education. Its arrival has transformed the way we learn, including the way students cheat on homework and assignments. For teachers, it’s like trying to navigate a treacherous ocean — they must find new and creative ways to test their students’ knowledge in a world where technology has made cheating a slippery eel. The challenge is real and the stakes are high. Can we rise to the challenge and chart a course towards an honest and fair education system? As American writer Mark Twain famously said, “Education is the path from cocky ignorance to miserable uncertainty.” In the age of AI-assisted cheating, this path is fraught with obstacles. The use of AI to cheat on assignments and online exams undermines the very foundation of education. If grades can be easily manipulated with technology, they cease to be a true measure of a student’s knowledge and understanding. This is a slippery slope that can lead to the devaluation of degrees and the overall purpose of education. In short, AI-assisted cheating threatens to turn the path of growth and enlightenment into a road of “miserable uncertainty.” As the world searches for high-tech solutions to tackle the problem of AI-assisted cheating, sometimes a quick answer is right in front of us. The viva exam is a tried and true method that has stood the test of time. It is a simple yet powerful tool that provides a comprehensive evaluation of a student’s abilities, giving you a window into their true potential. As educators, we hold the power to shape the future of our students and the education system at large. By prioritising the use of viva exams, we can help foster a culture of academic excellence and instil a strong sense of integrity in our students. The investment of time and effort is more than worth it, as we set our students on the path to success and help ensure the validity and credibility of grades. In the words of British author Sir Ken Robinson, “If you had told teachers in the 1960s that every child would have their own computer, they would have thought you were crazy.” But now, teachers would be dubbed absurd if they thought that students could stay strangers to AI tools. So, instead of turning a blind eye to AI, I decided to embrace it in my classroom. I taught my students the ins and outs of AI-powered chatbots, inspiring even the most reluctant learners to dive in and discover new ways to learn. However, with this newfound excitement came the issue of AI-assisted cheating. To tackle this, I included marks for viva exams with every home assignment. This gave me a more well-rounded understanding of my students’ abilities, and helped me cultivate a culture of academic excellence and integrity. By embracing AI and incorporating viva exams, I was able to turn a potential problem into a unique opportunity for growth and learning. Think of the fight against AI-assisted cheating like a battle between Sherlock Holmes and Professor James Moriarty, trying to outsmart each other. Meanwhile, educators are like Dr John Watson, working alongside Holmes, to provide support in solving a crime. So, let’s channel our inner Dr Watson and work together with policymakers to find traditional and innovative solutions to this problem, and ensure academic integrity in the classroom.Kamran_ShFeb 12, 2023Copper Contributor3.2KViews1like0Comments
Resources
Tags
- azure9 Topics
- ChatGPT7 Topics
- Sarah Lean6 Topics
- devops3 Topics
- hybrid2 Topics
- community2 Topics
- ai2 Topics
- artificial intelligence2 Topics
- migration2 Topics
- Chat GPT.2 Topics